propane/unicode.h
2010-04-01 22:36:22 -04:00

22 lines
356 B
C++

#ifndef UNICODE_H
#define UNICODE_H
#include <stdint.h>
#include <vector>
typedef uint32_t unichar_t;
class unistring
{
public:
unistring & operator=(const char * ascii_str);
unistring & operator+=(const unichar_t c);
bool operator==(const char * ascii_str);
protected:
std::vector<unichar_t> chars;
};
#endif