aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-01-20 06:12:16 +0000
committerMike Buland <eichlan@xagasoft.com>2011-01-20 06:12:16 +0000
commit81b26406423cb751729dd255396256442fc0d051 (patch)
treedc71d7bf8107160612cc177096d1063f3b9244d1 /src
parent7c6c9538b03c9eae24e38fbeb30dd76a16aff1d2 (diff)
downloadlibbu++-81b26406423cb751729dd255396256442fc0d051.tar.gz
libbu++-81b26406423cb751729dd255396256442fc0d051.tar.bz2
libbu++-81b26406423cb751729dd255396256442fc0d051.tar.xz
libbu++-81b26406423cb751729dd255396256442fc0d051.zip
Made (very) basic progress towards defining UtfString. It's actually going to
use a Bu::String as it's backend storage, so we'll get all the great out of that...
Diffstat (limited to 'src')
-rw-r--r--src/utfstring.cpp8
-rw-r--r--src/utfstring.h11
2 files changed, 19 insertions, 0 deletions
diff --git a/src/utfstring.cpp b/src/utfstring.cpp
index bb23db3..eb23713 100644
--- a/src/utfstring.cpp
+++ b/src/utfstring.cpp
@@ -7,3 +7,11 @@
7 7
8#include "bu/utfstring.h" 8#include "bu/utfstring.h"
9 9
10Bu::UtfString::UtfString()
11{
12}
13
14Bu::UtfString::~UtfString()
15{
16}
17
diff --git a/src/utfstring.h b/src/utfstring.h
index 30b4c3a..2140af1 100644
--- a/src/utfstring.h
+++ b/src/utfstring.h
@@ -8,10 +8,21 @@
8#ifndef BU_UTF_STRING_H 8#ifndef BU_UTF_STRING_H
9#define BU_UTF_STRING_H 9#define BU_UTF_STRING_H
10 10
11#include "bu/string.h"
12
11namespace Bu 13namespace Bu
12{ 14{
13 class UtfString 15 class UtfString
14 { 16 {
17 public:
18 UtfString();
19 virtual ~UtfString();
20
21 typedef uint32_t point;
22
23 private:
24 typedef BasicString<uint16_t> RawString;
25 RawString rsStore;
15 }; 26 };
16}; 27};
17 28