]> git.sesse.net Git - ccbs/blobdiff - bigscreen/widestring.h
Move widestring into its own file.
[ccbs] / bigscreen / widestring.h
diff --git a/bigscreen/widestring.h b/bigscreen/widestring.h
new file mode 100644 (file)
index 0000000..ca899bd
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef _WIDESTRING_H
+#define _WIDESTRING_H 1
+
+#include <string>
+
+// UCS-4 string with support for getting from UTF-8
+class widestring : public std::wstring
+{
+public:
+       void operator= (const char *from);
+};
+
+#endif /* !defined(_WIDESTRING_H) */