ofen/include/of_def.hpp

22 lines
337 B
C++

#ifndef OFEN_DEFINE
#define OFEN_DEFINE
#include <string>
#ifdef UNICODE_OFSTR
using ofString = std::wstring;
#define ofT(text) L##text
#else
using ofString = std::string;
#define ofT(text) text
#endif
enum OfStatus {
STA_SUCESS = 0,
STA_ERROR,
STA_CANOT_OPEN_REG,
STA_CANOT_QUERY_REG,
STA_CANOT_SET_REG
};
#endif