28#include <typelib/typedescription.h>
29#include <uno/environment.h>
30#include <uno/mapping.h>
45 uno_Mapping *,
void **,
void *, typelib_InterfaceTypeDescription *);
49 uno_Mapping *,
void **,
void *, typelib_InterfaceTypeDescription *);
80 uno_ExtEnvironment * pCppEnv_, uno_ExtEnvironment * pUnoEnv_,
81 bool bExportCpp2Uno_);
89 std::atomic<std::size_t>
nRef;
106 uno_Mapping * pMapping,
void ** ppUnoI,
void * pCppI,
107 typelib_InterfaceTypeDescription * pTypeDescr);
110 uno_Mapping * pMapping,
void ** ppCppI,
void * pUnoI,
111 typelib_InterfaceTypeDescription * pTypeDescr);
Holding environments and mappings.
uno_Mapping * getUno2Cpp()
uno_ExtEnvironment * getCppEnv()
friend void uno2cppMapping(uno_Mapping *pMapping, void **ppCppI, void *pUnoI, typelib_InterfaceTypeDescription *pTypeDescr)
uno_ExtEnvironment * pCppEnv
friend void acquireMapping(uno_Mapping *pMapping)
Bridge(Bridge const &)=delete
uno_ExtEnvironment * getUnoEnv()
uno_Mapping * getCpp2Uno()
friend void cpp2unoMapping(uno_Mapping *pMapping, void **ppUnoI, void *pCppI, typelib_InterfaceTypeDescription *pTypeDescr)
static uno_Mapping * createMapping(uno_ExtEnvironment *pCppEnv, uno_ExtEnvironment *pUnoEnv, bool bExportCpp2Uno)
std::atomic< std::size_t > nRef
Bridge & operator=(const Bridge &)=delete
friend void freeMapping(uno_Mapping *pMapping)
friend void releaseMapping(uno_Mapping *pMapping)
uno_ExtEnvironment * pUnoEnv
struct _uno_Mapping uno_Mapping
void cpp2unoMapping(uno_Mapping *pMapping, void **ppUnoI, void *pCppI, typelib_InterfaceTypeDescription *pTypeDescr)
void acquireMapping(uno_Mapping *pMapping)
void freeMapping(uno_Mapping *pMapping)
void uno2cppMapping(uno_Mapping *pMapping, void **ppCppI, void *pUnoI, typelib_InterfaceTypeDescription *pTypeDescr)
void releaseMapping(uno_Mapping *pMapping)