diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 06:12:16 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-20 06:12:16 +0000 |
commit | 81b26406423cb751729dd255396256442fc0d051 (patch) | |
tree | dc71d7bf8107160612cc177096d1063f3b9244d1 /src | |
parent | 7c6c9538b03c9eae24e38fbeb30dd76a16aff1d2 (diff) | |
download | libbu++-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 '')
-rw-r--r-- | src/utfstring.cpp | 8 | ||||
-rw-r--r-- | src/utfstring.h | 11 |
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 | ||
10 | Bu::UtfString::UtfString() | ||
11 | { | ||
12 | } | ||
13 | |||
14 | Bu::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 | |||
11 | namespace Bu | 13 | namespace 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 | ||