Change-Id: I4f53f7ee2d7f5147d09e0ff3bbde9f48f10ff85a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203324 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
48 lines
973 B
Plaintext
48 lines
973 B
Plaintext
#pragma once
|
|
|
|
#include "sal/config.h"
|
|
|
|
#include "cppu/macros.hxx"
|
|
|
|
namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
|
|
|
|
namespace test { namespace codemaker { namespace codemakertests {
|
|
|
|
#if defined LIBO_INTERNAL_ONLY
|
|
|
|
#if defined __GNUC__
|
|
|
|
enum class Enum4
|
|
{
|
|
|
|
#else
|
|
|
|
enum class SAL_DLLPUBLIC_RTTI Enum4
|
|
{
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
enum SAL_DLLPUBLIC_RTTI Enum4
|
|
{
|
|
|
|
#endif
|
|
Enum4_AUTO_A = 0,
|
|
Enum4_AUTO_B = 1,
|
|
Enum4_AUTO_C = 2,
|
|
Enum4_MAKE_FIXED_SIZE = SAL_MAX_ENUM
|
|
};
|
|
|
|
#if defined LIBO_INTERNAL_ONLY
|
|
constexpr auto Enum4_AUTO_A = Enum4::Enum4_AUTO_A;
|
|
constexpr auto Enum4_AUTO_B = Enum4::Enum4_AUTO_B;
|
|
constexpr auto Enum4_AUTO_C = Enum4::Enum4_AUTO_C;
|
|
#endif
|
|
|
|
inline ::css::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::test::codemaker::codemakertests::Enum4 const *);
|
|
} } }
|
|
|
|
SAL_DEPRECATED("use cppu::UnoType") inline ::css::uno::Type const & SAL_CALL getCppuType(const ::test::codemaker::codemakertests::Enum4 *);
|
|
|