summaryrefslogtreecommitdiff
path: root/dggui/utf8.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-01-03 11:50:41 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-01-03 11:50:41 +0100
commit756da05c384e3d9258fc07cf9441d899238503f1 (patch)
treeb3385216148d51a2378a2bed5dfc3f0a27d4f1ec /dggui/utf8.h
parent645250e1cd8ce9bc1faea599df7a1b05836bfeb8 (diff)
Add dggui namespace to libdggui components.
Diffstat (limited to 'dggui/utf8.h')
-rw-r--r--dggui/utf8.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dggui/utf8.h b/dggui/utf8.h
index 04c26b1..c7cf2ac 100644
--- a/dggui/utf8.h
+++ b/dggui/utf8.h
@@ -29,6 +29,9 @@
#include <string>
#include <unordered_map>
+namespace dggui
+{
+
// Class to convert utf8 to latin1 and the other way around.
class UTF8
{
@@ -45,3 +48,5 @@ private:
std::unordered_map<std::string, std::string> map_encode;
std::unordered_map<std::string, std::string> map_decode;
};
+
+} // ::dggui