Files
Webcam/include/platform/reflection/c_refl.h
2026-06-22 11:49:35 +02:00

45 lines
672 B
C++

/* -----------------------------------------------------------------------------
GSFramework
Copyright 2001-2011 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */
#ifndef __NREFL_OBJECT__
#define __NREFL_OBJECT__
#include <stddef.h>
#include "reflection/nenum_string.h"
namespace GS {
namespace Reflection {
struct Property
{
enum PropType
{
InvalidProp,
BoolProp,
CharProp,
ShortProp,
IntProp,
FloatProp,
StringProp,
EnumProp
};
PropType type;
const char *name;
size_t offset_of;
Enum::Dict *enum_dict;
};
} // Reflection
} // GS
#endif // __NREFL_OBJECT__