My Project
UDK 3.2.7 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
registry
types.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*************************************************************************
3
*
4
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
*
6
* Copyright 2000, 2010 Oracle and/or its affiliates.
7
*
8
* OpenOffice.org - a multi-platform office productivity suite
9
*
10
* This file is part of OpenOffice.org.
11
*
12
* OpenOffice.org is free software: you can redistribute it and/or modify
13
* it under the terms of the GNU Lesser General Public License version 3
14
* only, as published by the Free Software Foundation.
15
*
16
* OpenOffice.org is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Lesser General Public License version 3 for more details
20
* (a copy is included in the LICENSE file that accompanied this code).
21
*
22
* You should have received a copy of the GNU Lesser General Public License
23
* version 3 along with OpenOffice.org. If not, see
24
* <http://www.openoffice.org/license.html>
25
* for a copy of the LGPLv3 License.
26
*
27
************************************************************************/
28
29
#ifndef INCLUDED_registry_types_h
30
#define INCLUDED_registry_types_h
31
32
#include "
sal/types.h
"
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
43
enum
RTTypeClass
{
47
RT_TYPE_INVALID
,
48
52
RT_TYPE_INTERFACE
,
53
57
RT_TYPE_MODULE
,
58
62
RT_TYPE_STRUCT
,
63
67
RT_TYPE_ENUM
,
68
72
RT_TYPE_EXCEPTION
,
73
77
RT_TYPE_TYPEDEF
,
78
83
RT_TYPE_SERVICE
,
84
88
RT_TYPE_SINGLETON
,
89
91
RT_TYPE_OBJECT
,
92
96
RT_TYPE_CONSTANTS
,
97
101
RT_TYPE_UNION
,
102
104
117
RT_TYPE_PUBLISHED = 0x4000
119
};
120
144
typedef
sal_uInt16
RTFieldAccess
;
145
147
#define RT_ACCESS_INVALID 0x0000
148
149
#define RT_ACCESS_READONLY 0x0001
150
151
#define RT_ACCESS_OPTIONAL 0x0002
152
153
#define RT_ACCESS_MAYBEVOID 0x0004
154
155
#define RT_ACCESS_BOUND 0x0008
156
157
#define RT_ACCESS_CONSTRAINED 0x0010
158
159
#define RT_ACCESS_TRANSIENT 0x0020
160
161
#define RT_ACCESS_MAYBEAMBIGUOUS 0x0040
162
163
#define RT_ACCESS_MAYBEDEFAULT 0x0080
164
165
#define RT_ACCESS_REMOVEABLE 0x0100
166
167
#define RT_ACCESS_ATTRIBUTE 0x0200
168
169
#define RT_ACCESS_PROPERTY 0x0400
170
171
#define RT_ACCESS_CONST 0x0800
172
173
#define RT_ACCESS_READWRITE 0x1000
174
175
#define RT_ACCESS_DEFAULT 0x2000
176
186
#define RT_ACCESS_PARAMETERIZED_TYPE 0x4000
187
196
#define RT_ACCESS_PUBLISHED 0x8000
197
202
enum
RTValueType
{
203
RT_TYPE_NONE
,
204
RT_TYPE_BOOL
,
205
RT_TYPE_BYTE
,
206
RT_TYPE_INT16
,
207
RT_TYPE_UINT16
,
208
RT_TYPE_INT32
,
209
RT_TYPE_UINT32
,
210
RT_TYPE_INT64
,
211
RT_TYPE_UINT64
,
212
RT_TYPE_FLOAT
,
213
RT_TYPE_DOUBLE
,
214
RT_TYPE_STRING
215
};
216
219
union
RTConstValueUnion
{
220
sal_Bool
aBool
;
221
sal_Int8
aByte
;
222
sal_Int16
aShort
;
223
sal_uInt16
aUShort
;
224
sal_Int32
aLong
;
225
sal_uInt32
aULong
;
226
sal_Int64
aHyper
;
227
sal_uInt64
aUHyper
;
228
float
aFloat
;
229
double
aDouble
;
230
sal_Unicode
const
*
aString
;
231
};
232
238
enum
RTMethodMode
{
240
RT_MODE_INVALID
,
241
243
RT_MODE_ONEWAY
,
244
246
RT_MODE_ONEWAY_CONST
,
247
249
RT_MODE_TWOWAY
,
250
252
RT_MODE_TWOWAY_CONST
,
253
260
RT_MODE_ATTRIBUTE_GET
,
261
268
RT_MODE_ATTRIBUTE_SET
269
};
270
276
enum
RTParamMode
{
278
RT_PARAM_INVALID
= 0,
279
281
RT_PARAM_IN
= 1,
282
284
RT_PARAM_OUT
= 2,
285
287
RT_PARAM_INOUT
= 3,
288
299
RT_PARAM_REST
= 4
300
};
301
304
enum
RTReferenceType
{
306
RT_REF_INVALID
,
307
311
RT_REF_SUPPORTS
,
312
316
RT_REF_OBSERVES
,
317
321
RT_REF_EXPORTS
,
322
327
RT_REF_NEEDS
,
328
334
RT_REF_TYPE_PARAMETER
335
};
336
337
#ifdef __cplusplus
338
}
339
#endif
340
341
#endif
342
343
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Mon Oct 8 2012 00:36:42 for My Project by
1.8.1.2