UDK 3.2.7 C/C++ API Reference

registry/refltype.hxx

Go to the documentation of this file.
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 _REGISTRY_REFLTYPE_HXX_
00021 #define _REGISTRY_REFLTYPE_HXX_
00022 
00023 #include "registry/types.h"
00024 #include <sal/types.h>
00025 
00030 enum RTTypeSource
00031 {
00032     RT_UNO_IDL,
00033     RT_CORBA_IDL,
00034     RT_JAVA
00035 };
00036 
00042 class RTConstValue
00043 {
00044 public:
00046     RTValueType         m_type;
00048     RTConstValueUnion m_value;
00049 
00051     RTConstValue()
00052         : m_type(RT_TYPE_NONE)
00053     {
00054         m_value.aDouble = 0.0;
00055     }
00056 
00058     ~RTConstValue() {}
00059 };
00060 
00066 struct RTUik
00067 {
00068     sal_uInt32 m_Data1;
00069     sal_uInt16 m_Data2;
00070     sal_uInt16 m_Data3;
00071     sal_uInt32 m_Data4;
00072     sal_uInt32 m_Data5;
00073 };
00074 
00076 #define TYPEREG_CALLTYPE    SAL_CALL
00077 
00078 #endif
00079 
00080 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines