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

31 lines
545 B
C++

/* -----------------------------------------------------------------------------
GSFramework
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
----------------------------------------------------------------------------- */
#ifndef __NENUM_STRING__
#define __NENUM_STRING__
namespace GS {
namespace Reflection {
struct Enum
{
struct Dict
{
int enum_v;
const char *string_v;
};
static const char *toString(int, Dict *);
static int fromString(const char *, Dict *);
};
} // Reflection
} // GS
#endif // __NENUM_STRING__