|
UDK 3.2.7 C/C++ API Reference
|
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /* 00003 * This file is part of the LibreOffice project. 00004 * 00005 * This Source Code Form is subject to the terms of the Mozilla Public 00006 * License, v. 2.0. If a copy of the MPL was not distributed with this 00007 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 00008 * 00009 * This file incorporates work covered by the following license notice: 00010 * 00011 * Licensed to the Apache Software Foundation (ASF) under one or more 00012 * contributor license agreements. See the NOTICE file distributed 00013 * with this work for additional information regarding copyright 00014 * ownership. The ASF licenses this file to you under the Apache 00015 * License, Version 2.0 (the "License"); you may not use this file 00016 * except in compliance with the License. You may obtain a copy of 00017 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 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 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
1.7.3