File Index Symbol Index

#include "GuiReflectionPlugin.h"
namespace
vl
{
namespace
reflection
{
namespace
description
{
using
namespace
presentation
;
using
namespace
presentation
::
elements
;
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
#define _ ,
#define ELEMENT_CONSTRUCTOR(ELEMENT)\
CLASS_MEMBER_EXTERNALCTOR(Ptr<ELEMENT>(), NO_PARAMETER, vl::reflection::description::Element_Constructor<::vl::presentation::elements::ELEMENT>)
/*********************************************************************** Type Declaration (Extra) ***********************************************************************/
/*********************************************************************** Type Declaration (Class) ***********************************************************************/
#undef ELEMENT_CONSTRUCTOR
#undef _
/*********************************************************************** Type Loader ***********************************************************************/
class
GuiElementTypeLoader
:
public
Object
,
public
ITypeLoader
{
public
:
void
Load
(
ITypeManager
*
manager
) { }
void
Unload
(
ITypeManager
*
manager
) { } };
#endif
bool
LoadGuiElementTypes
() {
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
ITypeManager
*
manager
=
GetGlobalTypeManager
();
if
(
manager
) {
Ptr
<
ITypeLoader
>
loader
=
new
GuiElementTypeLoader
;
return
manager
->
AddTypeLoader
(
loader
); }
#endif
return
false
; } } } }