LibreOffice
LibreOffice 4.1 SDK C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
uno
data.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
#ifndef _UNO_DATA_H_
20
#define _UNO_DATA_H_
21
22
#include <
cppu/cppudllapi.h
>
23
24
#ifdef __cplusplus
25
extern
"C"
26
{
27
#endif
28
29
struct
_typelib_TypeDescriptionReference
;
30
struct
_typelib_TypeDescription
;
31
struct
_typelib_InterfaceTypeDescription
;
32
struct
_uno_Mapping
;
33
40
typedef
void
* (SAL_CALL *
uno_QueryInterfaceFunc
)(
41
void
* pInterface,
struct
_typelib_TypeDescriptionReference
* pType );
46
typedef
void (SAL_CALL *
uno_AcquireFunc
)(
47
void
* pInterface );
52
typedef
void (SAL_CALL *
uno_ReleaseFunc
)(
53
void
* pInterface );
54
66
CPPU_DLLPUBLIC
sal_Bool
SAL_CALL
uno_equalData
(
67
void
* pVal1,
struct
_typelib_TypeDescription
* pVal1TypeDescr,
68
void
* pVal2,
struct
_typelib_TypeDescription
* pVal2TypeDescr,
69
uno_QueryInterfaceFunc
queryInterface
,
uno_ReleaseFunc
release
)
70
SAL_THROW_EXTERN_C
();
82
CPPU_DLLPUBLIC
sal_Bool
SAL_CALL
uno_type_equalData
(
83
void
* pVal1,
struct
_typelib_TypeDescriptionReference
* pVal1Type,
84
void
* pVal2,
struct
_typelib_TypeDescriptionReference
* pVal2Type,
85
uno_QueryInterfaceFunc
queryInterface
,
uno_ReleaseFunc
release
)
86
SAL_THROW_EXTERN_C
();
87
97
CPPU_DLLPUBLIC
void
SAL_CALL
uno_copyData
(
98
void
* pDest,
void
* pSource,
99
struct
_typelib_TypeDescription
* pTypeDescr,
uno_AcquireFunc
acquire
)
100
SAL_THROW_EXTERN_C
();
110
CPPU_DLLPUBLIC
void
SAL_CALL
uno_type_copyData
(
111
void
* pDest,
void
* pSource,
112
struct
_typelib_TypeDescriptionReference
* pType,
uno_AcquireFunc
acquire
)
113
SAL_THROW_EXTERN_C
();
114
123
CPPU_DLLPUBLIC
void
SAL_CALL
uno_copyAndConvertData
(
124
void
* pDest,
void
* pSource,
125
struct
_typelib_TypeDescription
* pTypeDescr,
struct
_uno_Mapping
* mapping )
126
SAL_THROW_EXTERN_C
();
135
CPPU_DLLPUBLIC
void
SAL_CALL
uno_type_copyAndConvertData
(
136
void
* pDest,
void
* pSource,
137
struct
_typelib_TypeDescriptionReference
* pType,
struct
_uno_Mapping
* mapping )
138
SAL_THROW_EXTERN_C
();
139
147
CPPU_DLLPUBLIC
void
SAL_CALL
uno_destructData
(
148
void
* pValue,
struct
_typelib_TypeDescription
* pTypeDescr,
uno_ReleaseFunc
release
)
149
SAL_THROW_EXTERN_C
();
157
CPPU_DLLPUBLIC
void
SAL_CALL
uno_type_destructData
(
158
void
* pValue,
struct
_typelib_TypeDescriptionReference
* pType,
uno_ReleaseFunc
release
)
159
SAL_THROW_EXTERN_C
();
160
166
CPPU_DLLPUBLIC
void
SAL_CALL
uno_constructData
(
167
void
* pMem,
struct
_typelib_TypeDescription
* pTypeDescr )
168
SAL_THROW_EXTERN_C
();
174
CPPU_DLLPUBLIC
void
SAL_CALL
uno_type_constructData
(
175
void
* pMem,
struct
_typelib_TypeDescriptionReference
* pType )
176
SAL_THROW_EXTERN_C
();
177
196
CPPU_DLLPUBLIC
sal_Bool
SAL_CALL
uno_assignData
(
197
void
* pDest,
struct
_typelib_TypeDescription
* pDestTypeDescr,
198
void
* pSource,
struct
_typelib_TypeDescription
* pSourceTypeDescr,
199
uno_QueryInterfaceFunc
queryInterface
,
uno_AcquireFunc
acquire
,
uno_ReleaseFunc
release
)
200
SAL_THROW_EXTERN_C
();
219
CPPU_DLLPUBLIC
sal_Bool
SAL_CALL
uno_type_assignData
(
220
void
* pDest,
struct
_typelib_TypeDescriptionReference
* pDestType,
221
void
* pSource,
struct
_typelib_TypeDescriptionReference
* pSourceType,
222
uno_QueryInterfaceFunc
queryInterface
,
uno_AcquireFunc
acquire
,
uno_ReleaseFunc
release
)
223
SAL_THROW_EXTERN_C
();
224
239
CPPU_DLLPUBLIC
sal_Bool
SAL_CALL
uno_type_isAssignableFromData
(
240
struct
_typelib_TypeDescriptionReference
* pAssignable,
241
void
* pFrom,
struct
_typelib_TypeDescriptionReference
* pFromType,
242
uno_QueryInterfaceFunc
queryInterface
,
uno_ReleaseFunc
release
)
243
SAL_THROW_EXTERN_C
();
244
245
#ifdef __cplusplus
246
}
247
#endif
248
249
#endif
250
251
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Fri Nov 22 2013 00:52:29 for LibreOffice by
1.8.4