Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef GNASH_SWF_CTYPE_H
00022 #define GNASH_SWF_CTYPE_H
00023
00024 #include <locale>
00025
00026 #include "dsodefs.h"
00027
00028 namespace gnash {
00029
00031 class DSOEXPORT SWFCtype : public std::ctype<wchar_t> {
00032 public:
00033 SWFCtype(size_t refs = 0) : std::ctype<wchar_t>(refs) {}
00034 typedef std::ctype<wchar_t>::char_type char_type;
00035 protected:
00036 virtual char_type do_toupper(char_type) const;
00037 virtual const char_type* do_toupper(char_type* low, const char_type* high) const;
00038 virtual char_type do_tolower(char_type) const;
00039 virtual const char_type* do_tolower(char_type* low, const char_type* high) const;
00040 };
00041
00042 }
00043
00044 #endif