iconvConvert.h
Go to the documentation of this file.
00001 /* iconvConvert.h
00002  */
00003 #ifndef OSL_ICONVCONVERT_H
00004 #define OSL_ICONVCONVERT_H
00005 
00006 #include <string>
00007 
00008 namespace osl
00009 {
00010   namespace misc
00011   {
00012     struct IconvConvert
00013     {
00014       static std::string eucToLang(const std::string& src);
00015       static std::string convert(const std::string& fromcode,
00016                                  const std::string& tocode,
00017                                  const std::string& src);
00018 
00019       static std::string langToIconvCode(const std::string& lang);
00020     private:
00021       struct IconvCD;
00022       static std::string convert(IconvCD& cd,
00023                                  const std::string& src);
00024     };    
00025   }
00026   using misc::IconvConvert;
00027 }
00028 
00029 #endif /* OSL_ICONVCONVERT_H */
00030 // ;;; Local Variables:
00031 // ;;; mode:c++
00032 // ;;; c-basic-offset:2
00033 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines