|
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_ANY2_H_ 00020 #define _UNO_ANY2_H_ 00021 00022 #include <cppu/cppudllapi.h> 00023 #include <uno/data.h> 00024 00025 #ifdef __cplusplus 00026 extern "C" 00027 { 00028 #endif 00029 00030 #if defined( SAL_W32) 00031 #pragma pack(push, 8) 00032 #endif 00033 00034 struct _typelib_TypeDescriptionReference; 00035 struct _typelib_TypeDescription; 00036 struct _uno_Mapping; 00037 00040 typedef struct _uno_Any 00041 { 00044 struct _typelib_TypeDescriptionReference * pType; 00049 void * pData; 00052 void * pReserved; 00053 } uno_Any; 00054 00055 #if defined( SAL_W32) 00056 #pragma pack(pop) 00057 #endif 00058 00070 CPPU_DLLPUBLIC void SAL_CALL uno_any_assign( 00071 uno_Any * pDest, void * pSource, 00072 struct _typelib_TypeDescription * pTypeDescr, 00073 uno_AcquireFunc acquire, uno_ReleaseFunc release ) 00074 SAL_THROW_EXTERN_C(); 00086 CPPU_DLLPUBLIC void SAL_CALL uno_type_any_assign( 00087 uno_Any * pDest, void * pSource, 00088 struct _typelib_TypeDescriptionReference * pType, 00089 uno_AcquireFunc acquire, uno_ReleaseFunc release ) 00090 SAL_THROW_EXTERN_C(); 00091 00100 CPPU_DLLPUBLIC void SAL_CALL uno_any_construct( 00101 uno_Any * pDest, void * pSource, 00102 struct _typelib_TypeDescription * pTypeDescr, 00103 uno_AcquireFunc acquire ) 00104 SAL_THROW_EXTERN_C(); 00113 CPPU_DLLPUBLIC void SAL_CALL uno_type_any_construct( 00114 uno_Any * pDest, void * pSource, 00115 struct _typelib_TypeDescriptionReference * pType, 00116 uno_AcquireFunc acquire ) 00117 SAL_THROW_EXTERN_C(); 00118 00126 CPPU_DLLPUBLIC void SAL_CALL uno_any_constructAndConvert( 00127 uno_Any * pDest, void * pSource, 00128 struct _typelib_TypeDescription * pTypeDescr, 00129 struct _uno_Mapping * mapping ) 00130 SAL_THROW_EXTERN_C(); 00138 CPPU_DLLPUBLIC void SAL_CALL uno_type_any_constructAndConvert( 00139 uno_Any * pDest, void * pSource, 00140 struct _typelib_TypeDescriptionReference * pType, 00141 struct _uno_Mapping * mapping ) 00142 SAL_THROW_EXTERN_C(); 00143 00150 CPPU_DLLPUBLIC void SAL_CALL uno_any_destruct( 00151 uno_Any * pValue, uno_ReleaseFunc release ) 00152 SAL_THROW_EXTERN_C(); 00153 00160 CPPU_DLLPUBLIC void SAL_CALL uno_any_clear( 00161 uno_Any * pValue, uno_ReleaseFunc release ) 00162 SAL_THROW_EXTERN_C(); 00163 00164 #ifdef __cplusplus 00165 } 00166 #endif 00167 00168 #endif 00169 00170 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
1.7.3