mirror of
https://github.com/N3xoX1/sciterui.git
synced 2026-06-17 04:16:14 -07:00
29 lines
477 B
C++
29 lines
477 B
C++
#pragma once
|
|
#include <stdint.h>
|
|
#include <string>
|
|
|
|
class SciterValue
|
|
{
|
|
enum VALUE_TYPE
|
|
{
|
|
TYPE_UNDEFINED = 0,
|
|
TYPE_BOOL = 1,
|
|
TYPE_INT32_T = 2,
|
|
TYPE_STRING = 3,
|
|
};
|
|
|
|
public:
|
|
SciterValue();
|
|
SciterValue(bool Value);
|
|
SciterValue(int32_t Value);
|
|
SciterValue(std::string Value);
|
|
~SciterValue();
|
|
|
|
int32_t GetValueInt(void) const;
|
|
|
|
private:
|
|
uint32_t m_type;
|
|
uint32_t m_valueInt;
|
|
std::string m_valueStr;
|
|
};
|