1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24 #ifndef INCLUDED_registry_version_h 25 #define INCLUDED_registry_version_h 26 27 #include "sal/types.h" 28 29 #ifdef __cplusplus 30 extern "C" { 31 #endif 32 33 /// @HTML 34 35 /** 36 The version of a binary blob that represents a UNOIDL type. 37 38 <p>All values between <code>TYPEREG_VERSION_0</code> and 39 <code>TYPEREG_MAX_VERSION</code> are valid, where currently unallocated 40 values represent future versions. Negative values are not valid.</p> 41 42 @see typereg::Reader 43 @see typereg::Writer 44 45 @since UDK 3.2.0 46 */ 47 enum typereg_Version { 48 /** 49 Denotes the original version of UNOIDL type blobs. 50 */ 51 TYPEREG_VERSION_0, 52 53 /** 54 Denotes the updated version of UNOIDL type blobs. 55 56 <p>This version added support for multiple-inheritance interface types, 57 extended interface type attributes, single-interface–based 58 services, interface-based singletons, polymorphic struct types, and 59 published entities.</p> 60 */ 61 TYPEREG_VERSION_1, 62 63 /** 64 Denotes the maximum future version of UNOIDL type blobs. 65 */ 66 TYPEREG_MAX_VERSION = SAL_MAX_INT32 67 }; 68 69 #ifdef __cplusplus 70 } 71 #endif 72 73 #endif 74