warn on load when a document binds an event to a macro
[LibreOffice.git] / include / registry / version.h
blobb7c066d4177fbfa4a1d56e528f472eaf74ddb95b
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 #ifndef INCLUDED_REGISTRY_VERSION_H
21 #define INCLUDED_REGISTRY_VERSION_H
23 #include <sal/types.h>
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
29 /**
30 The version of a binary blob that represents a UNOIDL type.
32 <p>All values between <code>TYPEREG_VERSION_0</code> and
33 <code>TYPEREG_MAX_VERSION</code> are valid, where currently unallocated
34 values represent future versions. Negative values are not valid.</p>
36 @see typereg::Reader
37 @see typereg::Writer
39 @since UDK 3.2.0
41 enum typereg_Version {
42 /**
43 Denotes the original version of UNOIDL type blobs.
45 TYPEREG_VERSION_0,
47 /**
48 Denotes the updated version of UNOIDL type blobs.
50 <p>This version added support for multiple-inheritance interface types,
51 extended interface type attributes, single-interface&ndash;based
52 services, interface-based singletons, polymorphic struct types, and
53 published entities.</p>
55 TYPEREG_VERSION_1,
57 /**
58 Denotes the maximum future version of UNOIDL type blobs.
60 TYPEREG_MAX_VERSION = SAL_MAX_INT32
63 #ifdef __cplusplus
65 #endif
67 #endif
69 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */