File Index Symbol Index

#include "GuiReflectionPlugin.h"
namespace
vl
{
namespace
reflection
{
namespace
description
{
using
namespace
presentation
;
using
namespace
presentation
::
templates
;
using
namespace
presentation
::
controls
;
using
namespace
presentation
::
controls
::
list
;
using
namespace
presentation
::
controls
::
tree
;
using
namespace
presentation
::
elements
::
text
;
using
namespace
presentation
::
theme
;
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
#define CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE(CONTROL)\
CLASS_MEMBER_CONSTRUCTOR(CONTROL*(ThemeName), {L"themeName"})\
#define CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE(CONTROL)\
CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE(CONTROL)\
CLASS_MEMBER_METHOD(TypedControlTemplateObject, {L"ensureExists"})\
#define CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE_2(CONTROL, TYPE2, PARAM2)\
CLASS_MEMBER_CONSTRUCTOR(CONTROL*(ThemeName, TYPE2), {L"themeName" _ L ## #PARAM2 })\
#define CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_2(CONTROL, TYPE2, PARAM2)\
CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE_2(CONTROL, TYPE2, PARAM2)\
CLASS_MEMBER_METHOD(TypedControlTemplateObject, {L"ensureExists"})\
#define CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE_3(CONTROL, TYPE2, PARAM2, TYPE3, PARAM3)\
CLASS_MEMBER_CONSTRUCTOR(CONTROL*(ThemeName, TYPE2, TYPE3), {L"themeName" _ L ## #PARAM2 _ L ## #PARAM3})\
#define CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_3(CONTROL, TYPE2, PARAM2, TYPE3, PARAM3)\
CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE_3(CONTROL, TYPE2, PARAM2, TYPE3, PARAM3)\
CLASS_MEMBER_METHOD(TypedControlTemplateObject, {L"ensureExists"})\
#define INTERFACE_IDENTIFIER(INTERFACE)\
CLASS_MEMBER_STATIC_EXTERNALMETHOD(GetIdentifier, NO_PARAMETER, WString(*)(), vl::presentation::controls::QueryServiceHelper<::INTERFACE>::GetIdentifier)
/*********************************************************************** Type Declaration (Extra) ***********************************************************************/
#define GUI_DEFINE_THEME_NAME(TEMPLATE, CONTROL) ENUM_CLASS_ITEM(CONTROL)
#undef GUI_DEFINE_THEME_NAME
#define GUI_DEFINE_ITEM_PROPERTY(TEMPLATE, CONTROL) CLASS_MEMBER_FIELD(CONTROL)
#undef GUI_DEFINE_ITEM_PROPERTY
/*********************************************************************** Type Declaration (Class) ***********************************************************************/
#undef INTERFACE_IDENTIFIER
#undef CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_3
#undef CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE_3
#undef CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_2
#undef CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE_2
#undef CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE
#undef CONTROL_CONSTRUCTOR_CONTROLT_TEMPLATE_INHERITANCE
#undef _
/*********************************************************************** Type Loader ***********************************************************************/
class
GuiControlsTypeLoader
:
public
Object
,
public
ITypeLoader
{
public
:
void
Load
(
ITypeManager
*
manager
) { }
void
Unload
(
ITypeManager
*
manager
) { } };
#endif
bool
LoadGuiControlTypes
() {
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager
*
manager
=
GetGlobalTypeManager
();
if
(
manager
) {
Ptr
<
ITypeLoader
>
loader
=
new
GuiControlsTypeLoader
;
return
manager
->
AddTypeLoader
(
loader
); }
#endif
return
false
; } } } }