24#include <com/sun/star/uno/XInterface.hpp>
26#include <typelib/typedescription.h>
27#include <uno/dispatcher.h>
35 static_cast< uno_Interface *
>( pProxy ) );
42 pThis->
pCppI->release();
43 ::typelib_typedescription_release(&pThis->
pTypeDescr->aBase);
46#if OSL_DEBUG_LEVEL > 1
47 *(
int *)pProxy = 0xdeadbabe;
59#if OSL_DEBUG_LEVEL > 1
63 registerProxyInterface)(
68#if OSL_DEBUG_LEVEL > 1
69 assert(pThis == pUnoI);
87 com::sun::star::uno::XInterface * pCppI,
88 typelib_InterfaceTypeDescription * pTypeDescr,
89 OUString
const & rOId)
96 com::sun::star::uno::XInterface * pCppI_,
97 typelib_InterfaceTypeDescription * pTypeDescr_, OUString aOId_)
101 , pTypeDescr( pTypeDescr_ )
102 , oid(
std::move( aOId_ ))
105 ::typelib_typedescription_acquire(&
pTypeDescr->aBase);
107 ::typelib_typedescription_complete(
Holding environments and mappings.
uno_ExtEnvironment * getCppEnv()
uno_ExtEnvironment * getUnoEnv()
A uno proxy wrapping a cpp interface.
com::sun::star::uno::XInterface * pCppI
friend void releaseProxy(uno_Interface *pUnoI)
static UnoInterfaceProxy * create(Bridge *pBridge, com::sun::star::uno::XInterface *pCppI, typelib_InterfaceTypeDescription *pTypeDescr, OUString const &rOId)
friend void acquireProxy(uno_Interface *pUnoI)
friend void unoInterfaceProxyDispatch(uno_Interface *pUnoI, typelib_TypeDescription const *pMemberDescr, void *pReturn, void *pArgs[], uno_Any **ppException)
UnoInterfaceProxy(UnoInterfaceProxy const &)=delete
typelib_InterfaceTypeDescription * pTypeDescr
struct _typelib_TypeDescription typelib_TypeDescription
void freeUnoInterfaceProxy(uno_ExtEnvironment *pEnv, void *pProxy)
void releaseProxy(uno_Interface *pUnoI)
void acquireProxy(uno_Interface *pUnoI)