diff options
author | lloyd <[email protected]> | 2006-06-13 01:35:53 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-13 01:35:53 +0000 |
commit | 4bbacf4aae4b8b98d02ea887593492c1b9dacdc7 (patch) | |
tree | 873873f8b919a0bd8b54d086555c23c500537c56 /include/charset.h | |
parent | 5b4ec650b1199578fcf1bd7fdc93ed0f48e7c5a3 (diff) |
Add some initial support for centralized/user-pluggable character
set conversions, to replace the current hardcoded stuff.
Diffstat (limited to 'include/charset.h')
-rw-r--r-- | include/charset.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/charset.h b/include/charset.h index f2fb33e76..a79530f05 100644 --- a/include/charset.h +++ b/include/charset.h @@ -7,11 +7,24 @@ #define BOTAN_CHARSET_H__ #include <botan/types.h> +#include <botan/enums.h> #include <string> namespace Botan { /************************************************* +* Character Set Transcoder Object * +*************************************************/ +class Charset_Transcoder + { + public: + virtual std::string transcode(const std::string&, + Character_Set, Character_Set) const = 0; + + virtual ~Charset_Transcoder() {} + }; + +/************************************************* * Character Set Handling * *************************************************/ bool is_digit(char); |