workaround segfault in compiler on macos-clang-intel
[LibreOffice.git] / include / registry / version.h
blob59988d7cdcdb69ce570991c8b6d0f1e7bc6dd5fb
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
20 #pragma once
22 #include <sal/types.h>
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 /**
29 The version of a binary blob that represents a UNOIDL type.
31 <p>All values between <code>TYPEREG_VERSION_0</code> and
32 <code>TYPEREG_MAX_VERSION</code> are valid, where currently unallocated
33 values represent future versions. Negative values are not valid.</p>
35 @see typereg::Reader
36 @see typereg::Writer
38 @since UDK 3.2.0
40 enum typereg_Version {
41 /**
42 Denotes the original version of UNOIDL type blobs.
44 TYPEREG_VERSION_0,
46 /**
47 Denotes the updated version of UNOIDL type blobs.
49 <p>This version added support for multiple-inheritance interface types,
50 extended interface type attributes, single-interface&ndash;based
51 services, interface-based singletons, polymorphic struct types, and
52 published entities.</p>
54 TYPEREG_VERSION_1,
56 /**
57 Denotes the maximum future version of UNOIDL type blobs.
59 TYPEREG_MAX_VERSION = SAL_MAX_INT32
62 #ifdef __cplusplus
64 #endif
66 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */