Files
libreoffice/include/typelib/typeclass.h

105 lines
3.6 KiB
C
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2012-06-13 14:17:57 +01:00
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_TYPELIB_TYPECLASS_H
#define INCLUDED_TYPELIB_TYPECLASS_H
2000-09-18 14:29:57 +00:00
#include <sal/types.h>
2001-08-21 08:17:07 +00:00
/** This type class enum is binary compatible with the IDL enum com.sun.star.uno.TypeClass.
2000-09-18 14:29:57 +00:00
*/
2000-12-21 13:35:28 +00:00
typedef enum _typelib_TypeClass
2000-09-18 14:29:57 +00:00
{
2001-08-21 08:17:07 +00:00
/** type class of void */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_VOID = 0,
2001-08-21 08:17:07 +00:00
/** type class of char */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_CHAR = 1,
2001-08-21 08:17:07 +00:00
/** type class of boolean */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_BOOLEAN = 2,
2001-08-21 08:17:07 +00:00
/** type class of byte */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_BYTE = 3,
2001-08-21 08:17:07 +00:00
/** type class of short */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_SHORT = 4,
2001-08-21 08:17:07 +00:00
/** type class of unsigned short */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_UNSIGNED_SHORT = 5,
2001-08-21 08:17:07 +00:00
/** type class of long */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_LONG = 6,
2001-08-21 08:17:07 +00:00
/** type class of unsigned long */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_UNSIGNED_LONG = 7,
2001-08-21 08:17:07 +00:00
/** type class of hyper */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_HYPER = 8,
2001-08-21 08:17:07 +00:00
/** type class of unsigned hyper */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_UNSIGNED_HYPER = 9,
2001-08-21 08:17:07 +00:00
/** type class of float */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_FLOAT = 10,
2001-08-21 08:17:07 +00:00
/** type class of double */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_DOUBLE = 11,
2001-08-21 08:17:07 +00:00
/** type class of string */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_STRING = 12,
2001-08-21 08:17:07 +00:00
/** type class of type */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_TYPE = 13,
2001-08-21 08:17:07 +00:00
/** type class of any */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_ANY = 14,
2001-08-21 08:17:07 +00:00
/** type class of enum */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_ENUM = 15,
2001-08-21 08:17:07 +00:00
/** type class of typedef */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_TYPEDEF = 16,
2001-08-21 08:17:07 +00:00
/** type class of struct */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_STRUCT = 17,
/** Deprecated, UNOIDL does not have a union concept.
@deprecated
*/
2000-09-18 14:29:57 +00:00
typelib_TypeClass_UNION = 18,
2001-08-21 08:17:07 +00:00
/** type class of exception */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_EXCEPTION = 19,
2001-08-21 08:17:07 +00:00
/** type class of sequence */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_SEQUENCE = 20,
/** Deprecated, UNOIDL does not have an array concept.
@deprecated
*/
2000-09-18 14:29:57 +00:00
typelib_TypeClass_ARRAY = 21,
2001-08-21 08:17:07 +00:00
/** type class of interface */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_INTERFACE = 22,
2001-08-21 08:17:07 +00:00
/** type class of service (not implemented) */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_SERVICE = 23,
2001-08-21 08:17:07 +00:00
/** type class of module (not implemented) */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_MODULE = 24,
2001-08-21 08:17:07 +00:00
/** type class of interface method */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_INTERFACE_METHOD = 25,
2001-08-21 08:17:07 +00:00
/** type class of interface attribute */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_INTERFACE_ATTRIBUTE = 26,
/** type class of unknown type */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_UNKNOWN = 27,
/** type class of properties */
typelib_TypeClass_PROPERTY = 28,
/** type class of constants */
typelib_TypeClass_CONSTANT = 29,
/** type class of constants groups */
typelib_TypeClass_CONSTANTS = 30,
/** type class of singletons */
typelib_TypeClass_SINGLETON = 31,
2001-08-21 08:17:07 +00:00
/** fixing enum size */
2000-09-18 14:29:57 +00:00
typelib_TypeClass_MAKE_FIXED_SIZE = SAL_MAX_ENUM
2000-12-21 13:35:28 +00:00
} typelib_TypeClass;
2000-09-18 14:29:57 +00:00
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */