|
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_SEQUENCE2_H_ 00020 #define _UNO_SEQUENCE2_H_ 00021 00022 #include <cppu/cppudllapi.h> 00023 #include <uno/data.h> 00024 00025 #ifdef __cplusplus 00026 extern "C" 00027 { 00028 #endif 00029 00030 struct _typelib_TypeDescriptionReference; 00031 struct _typelib_TypeDescription; 00032 typedef sal_Sequence uno_Sequence; 00033 00042 CPPU_DLLPUBLIC void SAL_CALL uno_sequence_assign( 00043 uno_Sequence ** ppDest, 00044 uno_Sequence * pSource, 00045 struct _typelib_TypeDescription * pTypeDescr, 00046 uno_ReleaseFunc release ) 00047 SAL_THROW_EXTERN_C(); 00056 CPPU_DLLPUBLIC void SAL_CALL uno_type_sequence_assign( 00057 uno_Sequence ** ppDest, 00058 uno_Sequence * pSource, 00059 struct _typelib_TypeDescriptionReference * pType, 00060 uno_ReleaseFunc release ) 00061 SAL_THROW_EXTERN_C(); 00062 00075 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_construct( 00076 uno_Sequence ** ppSequence, 00077 struct _typelib_TypeDescription * pTypeDescr, 00078 void * pElements, sal_Int32 len, 00079 uno_AcquireFunc acquire ) 00080 SAL_THROW_EXTERN_C(); 00092 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_construct( 00093 uno_Sequence ** ppSequence, 00094 struct _typelib_TypeDescriptionReference * pType, 00095 void * pElements, sal_Int32 len, 00096 uno_AcquireFunc acquire ) 00097 SAL_THROW_EXTERN_C(); 00098 00111 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_reference2One( 00112 uno_Sequence ** ppSequence, 00113 struct _typelib_TypeDescription * pTypeDescr, 00114 uno_AcquireFunc acquire, 00115 uno_ReleaseFunc release ) 00116 SAL_THROW_EXTERN_C(); 00129 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_reference2One( 00130 uno_Sequence ** ppSequence, 00131 struct _typelib_TypeDescriptionReference * pType, 00132 uno_AcquireFunc acquire, 00133 uno_ReleaseFunc release ) 00134 SAL_THROW_EXTERN_C(); 00135 00148 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_sequence_realloc( 00149 uno_Sequence ** ppSequence, 00150 struct _typelib_TypeDescription * pTypeDescr, 00151 sal_Int32 nSize, 00152 uno_AcquireFunc acquire, 00153 uno_ReleaseFunc release ) 00154 SAL_THROW_EXTERN_C(); 00167 CPPU_DLLPUBLIC sal_Bool SAL_CALL uno_type_sequence_realloc( 00168 uno_Sequence ** ppSequence, 00169 struct _typelib_TypeDescriptionReference * pType, 00170 sal_Int32 nSize, 00171 uno_AcquireFunc acquire, 00172 uno_ReleaseFunc release ) 00173 SAL_THROW_EXTERN_C(); 00174 00175 #ifdef __cplusplus 00176 } 00177 #endif 00178 00179 #endif 00180 00181 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
1.7.3