File Index Symbol Index

#include "GuiReflectionPlugin.h"
namespace
vl
{
namespace
reflection
{
namespace
description
{
using
namespace
presentation
::
compositions
;
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
/*********************************************************************** Type Declaration ***********************************************************************/
#define _ ,
#define EVENTARGS_CONSTRUCTOR(EVENTARGS)\
CLASS_MEMBER_CONSTRUCTOR(Ptr<EVENTARGS>(), NO_PARAMETER)\
CLASS_MEMBER_CONSTRUCTOR(Ptr<EVENTARGS>(GuiGraphicsComposition*), {L"composition"})
#undef EVENTARGS_CONSTRUCTOR
#undef _
/*********************************************************************** Type Loader ***********************************************************************/
class
GuiEventTypeLoader
:
public
Object
,
public
ITypeLoader
{
public
:
void
Load
(
ITypeManager
*
manager
) { }
void
Unload
(
ITypeManager
*
manager
) { } };
#endif
bool
LoadGuiEventTypes
() {
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager
*
manager
=
GetGlobalTypeManager
();
if
(
manager
) {
Ptr
<
ITypeLoader
>
loader
=
new
GuiEventTypeLoader
;
return
manager
->
AddTypeLoader
(
loader
); }
#endif
return
false
; } } } }