Global Functions in Namespace uno
in Sourcefile current_context.hxx
- getCurrentContext
- Reference< XCurrentContext > getCurrentContext() throw();
-
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Getting the current context.
- ATTENTION!
Don't spread the returned interface around to other threads. Every thread has its own
current context.
- Return
current context or null ref, if none is set
- setCurrentContext
- bool setCurrentContext(
const Reference< XCurrentContext > & |
xContext ) throw(); |
virtual |
abstract |
const |
volatile |
template |
static |
inline |
C-linkage |
NO |
NO |
NO |
NO |
NO |
NO |
YES |
NO |
- Summary
Setting the current context.
- Parameters
xContext |
current context to be set
|
- Return
true, if context has been successfully set
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.