]> git.sesse.net Git - ccbs/blobdiff - bigscreen/widestring.h
Shape text using Pango and HarfBuzz; gives us nice ligatures and exotic scripts.
[ccbs] / bigscreen / widestring.h
index 86113ffff80e7bd9bea7787b50cb0e888be76df4..1e4f9a2640cd2cd09d35af5b84cbdc5fd96f2f6a 100644 (file)
@@ -2,7 +2,7 @@
 #define _WIDESTRING_H 1
 
 #include <string>
-#include "pqxx/util.hxx"
+#include <pqxx/util>
 
 // UCS-4 string with support for getting from UTF-8
 class widestring : public std::wstring
@@ -13,6 +13,7 @@ public:
        widestring(const std::string &from);
        widestring(const std::wstring &from);
        void operator= (const char *from);
+       std::string to_utf8() const;
 };
 
 namespace pqxx