File Index Symbol Index

#include "GuiReflectionPlugin.h"
namespace
vl
{
namespace
reflection
{
namespace
description
{
using
namespace
collections
;
using
namespace
presentation
;
using
namespace
presentation
::
compositions
;
using
namespace
presentation
::
controls
;
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
#define INTERFACE_IDENTIFIER(INTERFACE)\
CLASS_MEMBER_STATIC_EXTERNALMETHOD(GetIdentifier, NO_PARAMETER, WString(*)(), vl::presentation::controls::QueryServiceHelper<::INTERFACE>::GetIdentifier)
/*********************************************************************** Type Declaration (Extra) ***********************************************************************/
/*********************************************************************** Type Declaration (Class) ***********************************************************************/
#undef INTERFACE_IDENTIFIER
#undef _
/*********************************************************************** Type Loader ***********************************************************************/
class
GuiCompositionTypeLoader
:
public
Object
,
public
ITypeLoader
{
public
:
void
Load
(
ITypeManager
*
manager
) { }
void
Unload
(
ITypeManager
*
manager
) { } };
#endif
bool
LoadGuiCompositionTypes
() {
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager
*
manager
=
GetGlobalTypeManager
();
if
(
manager
) {
Ptr
<
ITypeLoader
>
loader
=
new
GuiCompositionTypeLoader
;
return
manager
->
AddTypeLoader
(
loader
); }
#endif
return
false
; } } } }