UDK 3.2.7 C/C++ API Reference
|
00001 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 00002 /************************************************************************* 00003 * 00004 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 00005 * 00006 * Copyright 2000, 2010 Oracle and/or its affiliates. 00007 * 00008 * OpenOffice.org - a multi-platform office productivity suite 00009 * 00010 * This file is part of OpenOffice.org. 00011 * 00012 * OpenOffice.org is free software: you can redistribute it and/or modify 00013 * it under the terms of the GNU Lesser General Public License version 3 00014 * only, as published by the Free Software Foundation. 00015 * 00016 * OpenOffice.org is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00019 * GNU Lesser General Public License version 3 for more details 00020 * (a copy is included in the LICENSE file that accompanied this code). 00021 * 00022 * You should have received a copy of the GNU Lesser General Public License 00023 * version 3 along with OpenOffice.org. If not, see 00024 * <http://www.openoffice.org/license.html> 00025 * for a copy of the LGPLv3 License. 00026 * 00027 ************************************************************************/ 00028 #ifndef _UNO_DATA_H_ 00029 #define _UNO_DATA_H_ 00030 00031 #include <cppu/cppudllapi.h> 00032 00033 #ifdef __cplusplus 00034 extern "C" 00035 { 00036 #endif 00037 00038 struct _typelib_TypeDescriptionReference; 00039 struct _typelib_TypeDescription; 00040 struct _typelib_InterfaceTypeDescription; 00041 struct _uno_Mapping; 00042 00049 typedef void * (SAL_CALL * uno_QueryInterfaceFunc)( 00050 void * pInterface, struct _typelib_TypeDescriptionReference * pType ); 00055 typedef void (SAL_CALL * uno_AcquireFunc)( 00056 void * pInterface ); 00061 typedef void (SAL_CALL * uno_ReleaseFunc)( 00062 void * pInterface ); 00063 00075 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_equalData( 00076 void * pVal1, struct _typelib_TypeDescription * pVal1TypeDescr, 00077 void * pVal2, struct _typelib_TypeDescription * pVal2TypeDescr, 00078 uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) 00079 SAL_THROW_EXTERN_C(); 00091 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_equalData( 00092 void * pVal1, struct _typelib_TypeDescriptionReference * pVal1Type, 00093 void * pVal2, struct _typelib_TypeDescriptionReference * pVal2Type, 00094 uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) 00095 SAL_THROW_EXTERN_C(); 00096 00106 CPPU_DLLPUBLIC void SAL_CALL uno_copyData( 00107 void * pDest, void * pSource, 00108 struct _typelib_TypeDescription * pTypeDescr, uno_AcquireFunc acquire ) 00109 SAL_THROW_EXTERN_C(); 00119 CPPU_DLLPUBLIC void SAL_CALL uno_type_copyData( 00120 void * pDest, void * pSource, 00121 struct _typelib_TypeDescriptionReference * pType, uno_AcquireFunc acquire ) 00122 SAL_THROW_EXTERN_C(); 00123 00132 CPPU_DLLPUBLIC void SAL_CALL uno_copyAndConvertData( 00133 void * pDest, void * pSource, 00134 struct _typelib_TypeDescription * pTypeDescr, struct _uno_Mapping * mapping ) 00135 SAL_THROW_EXTERN_C(); 00144 CPPU_DLLPUBLIC void SAL_CALL uno_type_copyAndConvertData( 00145 void * pDest, void * pSource, 00146 struct _typelib_TypeDescriptionReference * pType, struct _uno_Mapping * mapping ) 00147 SAL_THROW_EXTERN_C(); 00148 00156 CPPU_DLLPUBLIC void SAL_CALL uno_destructData( 00157 void * pValue, struct _typelib_TypeDescription * pTypeDescr, uno_ReleaseFunc release ) 00158 SAL_THROW_EXTERN_C(); 00166 CPPU_DLLPUBLIC void SAL_CALL uno_type_destructData( 00167 void * pValue, struct _typelib_TypeDescriptionReference * pType, uno_ReleaseFunc release ) 00168 SAL_THROW_EXTERN_C(); 00169 00175 CPPU_DLLPUBLIC void SAL_CALL uno_constructData( 00176 void * pMem, struct _typelib_TypeDescription * pTypeDescr ) 00177 SAL_THROW_EXTERN_C(); 00183 CPPU_DLLPUBLIC void SAL_CALL uno_type_constructData( 00184 void * pMem, struct _typelib_TypeDescriptionReference * pType ) 00185 SAL_THROW_EXTERN_C(); 00186 00205 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_assignData( 00206 void * pDest, struct _typelib_TypeDescription * pDestTypeDescr, 00207 void * pSource, struct _typelib_TypeDescription * pSourceTypeDescr, 00208 uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ) 00209 SAL_THROW_EXTERN_C(); 00228 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_assignData( 00229 void * pDest, struct _typelib_TypeDescriptionReference * pDestType, 00230 void * pSource, struct _typelib_TypeDescriptionReference * pSourceType, 00231 uno_QueryInterfaceFunc queryInterface, uno_AcquireFunc acquire, uno_ReleaseFunc release ) 00232 SAL_THROW_EXTERN_C(); 00233 00248 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_isAssignableFromData( 00249 struct _typelib_TypeDescriptionReference * pAssignable, 00250 void * pFrom, struct _typelib_TypeDescriptionReference * pFromType, 00251 uno_QueryInterfaceFunc queryInterface, uno_ReleaseFunc release ) 00252 SAL_THROW_EXTERN_C(); 00253 00254 #ifdef __cplusplus 00255 } 00256 #endif 00257 00258 #endif 00259 00260 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */