|
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 00020 #ifndef INCLUDED_registry_types_h 00021 #define INCLUDED_registry_types_h 00022 00023 #include "sal/types.h" 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00034 enum RTTypeClass { 00038 RT_TYPE_INVALID, 00039 00043 RT_TYPE_INTERFACE, 00044 00048 RT_TYPE_MODULE, 00049 00053 RT_TYPE_STRUCT, 00054 00058 RT_TYPE_ENUM, 00059 00063 RT_TYPE_EXCEPTION, 00064 00068 RT_TYPE_TYPEDEF, 00069 00074 RT_TYPE_SERVICE, 00075 00079 RT_TYPE_SINGLETON, 00080 00082 RT_TYPE_OBJECT, 00083 00087 RT_TYPE_CONSTANTS, 00088 00092 RT_TYPE_UNION, 00093 00095 00108 RT_TYPE_PUBLISHED = 0x4000 00110 }; 00111 00135 typedef sal_uInt16 RTFieldAccess; 00136 00138 #define RT_ACCESS_INVALID 0x0000 00139 00140 #define RT_ACCESS_READONLY 0x0001 00141 00142 #define RT_ACCESS_OPTIONAL 0x0002 00143 00144 #define RT_ACCESS_MAYBEVOID 0x0004 00145 00146 #define RT_ACCESS_BOUND 0x0008 00147 00148 #define RT_ACCESS_CONSTRAINED 0x0010 00149 00150 #define RT_ACCESS_TRANSIENT 0x0020 00151 00152 #define RT_ACCESS_MAYBEAMBIGUOUS 0x0040 00153 00154 #define RT_ACCESS_MAYBEDEFAULT 0x0080 00155 00156 #define RT_ACCESS_REMOVEABLE 0x0100 00157 00158 #define RT_ACCESS_ATTRIBUTE 0x0200 00159 00160 #define RT_ACCESS_PROPERTY 0x0400 00161 00162 #define RT_ACCESS_CONST 0x0800 00163 00164 #define RT_ACCESS_READWRITE 0x1000 00165 00166 #define RT_ACCESS_DEFAULT 0x2000 00167 00177 #define RT_ACCESS_PARAMETERIZED_TYPE 0x4000 00178 00187 #define RT_ACCESS_PUBLISHED 0x8000 00188 00193 enum RTValueType { 00194 RT_TYPE_NONE, 00195 RT_TYPE_BOOL, 00196 RT_TYPE_BYTE, 00197 RT_TYPE_INT16, 00198 RT_TYPE_UINT16, 00199 RT_TYPE_INT32, 00200 RT_TYPE_UINT32, 00201 RT_TYPE_INT64, 00202 RT_TYPE_UINT64, 00203 RT_TYPE_FLOAT, 00204 RT_TYPE_DOUBLE, 00205 RT_TYPE_STRING 00206 }; 00207 00210 union RTConstValueUnion { 00211 sal_Bool aBool; 00212 sal_Int8 aByte; 00213 sal_Int16 aShort; 00214 sal_uInt16 aUShort; 00215 sal_Int32 aLong; 00216 sal_uInt32 aULong; 00217 sal_Int64 aHyper; 00218 sal_uInt64 aUHyper; 00219 float aFloat; 00220 double aDouble; 00221 sal_Unicode const * aString; 00222 }; 00223 00229 enum RTMethodMode { 00231 RT_MODE_INVALID, 00232 00234 RT_MODE_ONEWAY, 00235 00237 RT_MODE_ONEWAY_CONST, 00238 00240 RT_MODE_TWOWAY, 00241 00243 RT_MODE_TWOWAY_CONST, 00244 00251 RT_MODE_ATTRIBUTE_GET, 00252 00259 RT_MODE_ATTRIBUTE_SET 00260 }; 00261 00267 enum RTParamMode { 00269 RT_PARAM_INVALID = 0, 00270 00272 RT_PARAM_IN = 1, 00273 00275 RT_PARAM_OUT = 2, 00276 00278 RT_PARAM_INOUT = 3, 00279 00290 RT_PARAM_REST = 4 00291 }; 00292 00295 enum RTReferenceType { 00297 RT_REF_INVALID, 00298 00302 RT_REF_SUPPORTS, 00303 00307 RT_REF_OBSERVES, 00308 00312 RT_REF_EXPORTS, 00313 00318 RT_REF_NEEDS, 00319 00325 RT_REF_TYPE_PARAMETER 00326 }; 00327 00328 #ifdef __cplusplus 00329 } 00330 #endif 00331 00332 #endif 00333 00334 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
1.7.3