LibreOffice
LibreOffice 6.4 SDK C/C++ API Reference
|
Go to the documentation of this file.
19 #ifndef INCLUDED_UNO_CURRENT_CONTEXT_HXX
20 #define INCLUDED_UNO_CURRENT_CONTEXT_HXX
29 #include "com/sun/star/uno/XCurrentContext.hpp"
96 {
return m_xPreviousContext; }
100 : m_aEnvTypeName( CPPU_CURRENT_LANGUAGE_BINDING_NAME )
This String class provides base functionality for C++ like Unicode character array handling.
Definition: ustring.hxx:127
interface_type * get() const
Gets interface pointer.
Definition: Reference.h:444
ContextLayer(Reference< XCurrentContext > const &xNewContext=Reference< XCurrentContext >())
Constructor: Saves the previous context and sets the new (given) one.
Definition: current_context.hxx:99
Reference< XCurrentContext > getPreviousContext() const
Gets the previously set context.
Definition: current_context.hxx:95
~ContextLayer()
Destructor: restores the previous context.
Definition: current_context.hxx:106
CPPU_DLLPUBLIC sal_Bool uno_setCurrentContext(void *pCurrentContext, rtl_uString *pEnvDcp, void *pEnvContext) SAL_THROW_EXTERN_C()
Sets the current task's context.
bool setCurrentContext(Reference< XCurrentContext > const &xContext)
Setting the current context.
Definition: current_context.hxx:60
Reference< XCurrentContext > getCurrentContext()
Getting the current context.
Definition: current_context.hxx:48
CPPU_DLLPUBLIC sal_Bool uno_getCurrentContext(void **ppCurrentContext, rtl_uString *pEnvDcp, void *pEnvContext) SAL_THROW_EXTERN_C()
Gets the current task's context.
Objects of this class are used for applying a current context until they are destructed,...
Definition: current_context.hxx:72