23#ifndef INCLUDED_UNO_ENVIRONMENT_H
24#define INCLUDED_UNO_ENVIRONMENT_H
95 void (SAL_CALL * harden)(
150 void (SAL_CALL * registerInterface)(
165 void (SAL_CALL * registerProxyInterface)(
178 void (SAL_CALL * revokeInterface)(
187 void (SAL_CALL * getObjectIdentifier)(
189 rtl_uString ** ppOId,
200 void (SAL_CALL * getRegisteredInterface)(
214 void (SAL_CALL * getRegisteredInterfaces)(
216 void *** pppInterfaces,
228 void (SAL_CALL * computeObjectIdentifier)(
230 rtl_uString ** ppOId,
void * pInterface );
237 void (SAL_CALL * acquireInterface)(
246 void (SAL_CALL * releaseInterface)(
262#define UNO_INIT_ENVIRONMENT "uno_initEnvironment"
264#ifdef DISABLE_DYNLOADING
295 rtl_uString * pEnvDcp )
324 void * stream, rtl_uString * pEnvDcp,
const char * pFilter )
#define SAL_THROW_EXTERN_C()
Nothrow specification for C functions.
Definition types.h:352
struct SAL_DLLPUBLIC_RTTI _uno_Environment uno_Environment
The binary specification of a UNO environment.
CPPU_DLLPUBLIC void uno_getEnvironment(uno_Environment **ppEnv, rtl_uString *pEnvDcp, void *pContext) SAL_THROW_EXTERN_C()
Gets a specific environment.
CPPU_DLLPUBLIC int uno_Environment_isValid(uno_Environment *pEnv, rtl_uString **pReason) SAL_THROW_EXTERN_C()
Check if a particular environment is currently valid, so that objects of that environment might be ca...
CPPU_DLLPUBLIC void uno_Environment_enter(uno_Environment *pEnv) SAL_THROW_EXTERN_C()
Enter an environment explicitly.
CPPU_DLLPUBLIC void uno_Environment_invoke(uno_Environment *pEnv, uno_EnvCallee *pCallee,...) SAL_THROW_EXTERN_C()
Invoke the passed function in the given environment.
CPPU_DLLPUBLIC void uno_Environment_invoke_v(uno_Environment *pEnv, uno_EnvCallee *pCallee, va_list *pParam) SAL_THROW_EXTERN_C()
Invoke the passed function in the given environment.
void(* uno_freeProxyFunc)(struct _uno_ExtEnvironment *pEnv, void *pProxy)
Generic function pointer declaration to free a proxy object if it is not needed by the environment an...
Definition environment.h:126
CPPU_DLLPUBLIC void uno_dumpEnvironmentByName(void *stream, rtl_uString *pEnvDcp, const char *pFilter) SAL_THROW_EXTERN_C()
Dumps out environment information, i.e.
void *(* uno_memAlloc)(sal_Size nBytes)
Generic function pointer declaration to allocate memory.
Definition environment.h:133
CPPU_DLLPUBLIC void uno_getRegisteredEnvironments(uno_Environment ***pppEnvs, sal_Int32 *pnLen, uno_memAlloc memAlloc, rtl_uString *pEnvDcp) SAL_THROW_EXTERN_C()
Gets all specified environments.
void(* uno_initEnvironmentFunc)(uno_Environment *pEnv)
Function exported by some bridge library providing acquireInterface(), releaseInterface(); may set a ...
Definition environment.h:261
struct SAL_DLLPUBLIC_RTTI _uno_ExtEnvironment uno_ExtEnvironment
The binary specification of a UNO environment supporting interface registration.
CPPU_DLLPUBLIC void uno_createEnvironment(uno_Environment **ppEnv, rtl_uString *pEnvDcp, void *pContext) SAL_THROW_EXTERN_C()
Creates an environment.
void uno_EnvCallee(va_list *pParam)
Typedef for variable argument function.
Definition environment.h:342
CPPU_DLLPUBLIC void uno_dumpEnvironment(void *stream, uno_Environment *pEnv, const char *pFilter) SAL_THROW_EXTERN_C()
Dumps out environment information, i.e.
CPPU_DLLPUBLIC void uno_getCurrentEnvironment(uno_Environment **ppEnv, rtl_uString *pTypeName) SAL_THROW_EXTERN_C()
Returns the current Environment.
#define CPPU_DLLPUBLIC
Definition cppudllapi.h:13
Type description of an interface.
Definition typedescription.h:375
The binary specification of a UNO environment.
Definition environment.h:46
void * pReserved
reserved for future use (0 if not used)
Definition environment.h:49
void * pContext
free context pointer to be used for specific classes of environments (e.g., a jvm pointer)
Definition environment.h:57
rtl_uString * pTypeName
type name of environment
Definition environment.h:53
struct _uno_ExtEnvironment * pExtEnv
pointer to extended environment (interface registration functionality), if supported
Definition environment.h:61
The binary specification of a UNO environment supporting interface registration.
Definition environment.h:138
uno_Environment aBase
inherits all members of a uno_Environment
Definition environment.h:141