diff options
Diffstat (limited to 'src/unstable/textcodecutf8.h')
-rw-r--r-- | src/unstable/textcodecutf8.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/unstable/textcodecutf8.h b/src/unstable/textcodecutf8.h index e69de29..f565f57 100644 --- a/src/unstable/textcodecutf8.h +++ b/src/unstable/textcodecutf8.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2019 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #ifndef TEXT_CODEC_UTF8_H | ||
9 | #define TEXT_CODEC_UTF8_H | ||
10 | |||
11 | #include "bu/textcodec.h" | ||
12 | |||
13 | namespace Bu | ||
14 | { | ||
15 | class TextCodecUtf8 : public TextCodec | ||
16 | { | ||
17 | public: | ||
18 | TextCodecUtf8(); | ||
19 | virtual ~TextCodecUtf8(); | ||
20 | |||
21 | virtual void encode( BlobBuilder &rTarget, const Text &rSource ); | ||
22 | virtual int32_t decode( TextBuilder &rTarget, const Blob &rSource ); | ||
23 | }; | ||
24 | } | ||
25 | |||
26 | #endif | ||