23#ifndef INCLUDED_COM_SUN_STAR_UNO_GENFUNC_HXX
24#define INCLUDED_COM_SUN_STAR_UNO_GENFUNC_HXX
32#include "com/sun/star/uno/XInterface.hpp"
47 static_cast< XInterface *
>( pCppI )->acquire();
52 static_cast< XInterface *
>( pCppI )->release();
61 Any aRet(
static_cast< XInterface *
>( pCppI )->queryInterface(
62 *
reinterpret_cast< const Type *
>( &pType ) ) );
65 XInterface * pRet =
static_cast< XInterface *
>( aRet.pReserved );
66 aRet.pReserved = NULL;
70 catch (RuntimeException &)
@ typelib_TypeClass_INTERFACE
type class of interface
Definition typeclass.h:82
struct SAL_DLLPUBLIC_RTTI _typelib_TypeDescriptionReference typelib_TypeDescriptionReference
Holds a weak reference to a type description.
Definition typedescription.hxx:43
void cpp_release(void *pCppI)
Function to release a C++ interface.
Definition genfunc.hxx:50
void * cpp_queryInterface(void *pCppI, typelib_TypeDescriptionReference *pType)
Function to query for a C++ interface.
Definition genfunc.hxx:55
void cpp_acquire(void *pCppI)
Function to acquire a C++ interface.
Definition genfunc.hxx:45
C++ class representing an IDL any.
Definition Any.h:58
C++ class representing an IDL meta type.
Definition Type.h:59