00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _UNO_DATA_H_
00020 #define _UNO_DATA_H_
00021
00022 #include <cppu/cppudllapi.h>
00023
00024 #ifdef __cplusplus
00025 extern "C"
00026 {
00027 #endif
00028
00029 struct _typelib_TypeDescriptionReference;
00030 struct _typelib_TypeDescription;
00031 struct _typelib_InterfaceTypeDescription;
00032 struct _uno_Mapping;
00033
00040 typedef void * (SAL_CALL * uno_QueryInterfaceFunc)(
00041 void * pInterface, struct _typelib_TypeDescriptionReference * pType );
00046 typedef void (SAL_CALL * uno_AcquireFunc)(
00047 void * pInterface );
00052 typedef void (SAL_CALL * uno_ReleaseFunc)(
00053 void * pInterface );
00054
00066 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_equalData(
00067 void * pVal1, struct _typelib_TypeDescription * pVal1TypeDescr,
00068 void * pVal2, struct _typelib_TypeDescription * pVal2TypeDescr,
00069 uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release )
00070 SAL_THROW_EXTERN_C();
00082 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_equalData(
00083 void * pVal1, struct _typelib_TypeDescriptionReference * pVal1Type,
00084 void * pVal2, struct _typelib_TypeDescriptionReference * pVal2Type,
00085 uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release )
00086 SAL_THROW_EXTERN_C();
00087
00097 CPPU_DLLPUBLIC void SAL_CALL uno_copyData(
00098 void * pDest, void * pSource,
00099 struct _typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire )
00100 SAL_THROW_EXTERN_C();
00110 CPPU_DLLPUBLIC void SAL_CALL uno_type_copyData(
00111 void * pDest, void * pSource,
00112 struct _typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire )
00113 SAL_THROW_EXTERN_C();
00114
00123 CPPU_DLLPUBLIC void SAL_CALL uno_copyAndConvertData(
00124 void * pDest, void * pSource,
00125 struct _typelib_TypeDescription * pTypeDescr, struct _uno_Mapping * mapping )
00126 SAL_THROW_EXTERN_C();
00135 CPPU_DLLPUBLIC void SAL_CALL uno_type_copyAndConvertData(
00136 void * pDest, void * pSource,
00137 struct _typelib_TypeDescriptionReference * pType, struct _uno_Mapping * mapping )
00138 SAL_THROW_EXTERN_C();
00139
00147 CPPU_DLLPUBLIC void SAL_CALL uno_destructData(
00148 void * pValue, struct _typelib_TypeDescription * pTypeDescr, uno_ReleaseFunc release )
00149 SAL_THROW_EXTERN_C();
00157 CPPU_DLLPUBLIC void SAL_CALL uno_type_destructData(
00158 void * pValue, struct _typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release )
00159 SAL_THROW_EXTERN_C();
00160
00166 CPPU_DLLPUBLIC void SAL_CALL uno_constructData(
00167 void * pMem, struct _typelib_TypeDescription * pTypeDescr )
00168 SAL_THROW_EXTERN_C();
00174 CPPU_DLLPUBLIC void SAL_CALL uno_type_constructData(
00175 void * pMem, struct _typelib_TypeDescriptionReference * pType )
00176 SAL_THROW_EXTERN_C();
00177
00196 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_assignData(
00197 void * pDest, struct _typelib_TypeDescription * pDestTypeDescr,
00198 void * pSource, struct _typelib_TypeDescription * pSourceTypeDescr,
00199 uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release )
00200 SAL_THROW_EXTERN_C();
00219 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_assignData(
00220 void * pDest, struct _typelib_TypeDescriptionReference * pDestType,
00221 void * pSource, struct _typelib_TypeDescriptionReference * pSourceType,
00222 uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release )
00223 SAL_THROW_EXTERN_C();
00224
00239 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_isAssignableFromData(
00240 struct _typelib_TypeDescriptionReference * pAssignable,
00241 void * pFrom, struct _typelib_TypeDescriptionReference * pFromType,
00242 uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release )
00243 SAL_THROW_EXTERN_C();
00244
00245 #ifdef __cplusplus
00246 }
00247 #endif
00248
00249 #endif
00250
00251