00001 #ifndef __CHM_CHAMELEON_ENCODING_H__ 00002 #define __CHM_CHAMELEON_ENCODING_H__ 00003 //-------------------------------------------------------------------------- 00004 // Copyright (C) 1997-2009 iNTERFACEWARE Inc. All Rights Reserved. 00005 // 00006 // Class: CHMchameleonEncoding 00007 // 00008 // Description: 00009 // 00010 // Class interface definition. 00011 // 00012 // This file is automatically generated. 00013 // DO NOT EDIT. 00014 // 00015 // Author: codegen2 00016 // Date: Tuesday, August 11th, 2009 @ 05:32:24 PM 00017 // Revision: $Revision: 1.3 $ 00018 // 00019 // Last Edit Date: $Date: 2009-08-11 21:35:20 $ 00020 // Source: $Source: /home/cvs/cvsroot/CHM/CHMchameleonEncoding.h,v $ 00021 //-------------------------------------------------------------------------- 00022 00023 #include <CHM/CHMminimumInclude.h> 00024 00025 #ifndef __CHM_CHAMELEON_ENCODING_HANDLE_H__ 00026 #define __CHM_CHAMELEON_ENCODING_HANDLE_H__ 00027 typedef void* CHMchameleonEncodingHandle; 00028 #endif 00029 00030 00045 class CHMchameleonEncoding 00046 { 00047 public: 00049 CHMchameleonEncoding(); 00050 CHMchameleonEncoding(const CHMchameleonEncoding& Orig); 00051 CHMchameleonEncoding(CHMchameleonEncodingHandle Handle); 00052 00054 virtual ~CHMchameleonEncoding(); 00055 00057 CHMchameleonEncoding& operator=(const CHMchameleonEncoding& Orig); 00058 00060 CHMchameleonEncodingHandle GetHandle() const { return Handle; } 00061 00062 00069 static const char* GetCurrentTranslationLocale(); 00070 00071 00078 static void SetCurrentTranslationLocale(const char* NewLocale); 00079 00080 00085 static CHMint32 CountOfTranslationLocale(); 00086 00087 00093 static const char* TranslationLocale(CHMint32 LocaleIndex); 00094 00095 00096 private: 00097 CHMchameleonEncodingHandle Handle; 00098 }; 00099 00100 #endif // end of defensive include