00001 #ifndef FXCP1251CODEC_H
00002 #define FXCP1251CODEC_H
00003
00004 #ifndef FXTEXTCODEC_H
00005 #include "FXTextCodec.h"
00006 #endif
00007
00008 namespace FX {
00009
00010
00011 class FXAPI FXCP1251Codec : public FXTextCodec {
00012 FXDECLARE(FXCP1251Codec)
00013 public:
00014 FXCP1251Codec(){}
00015 virtual FXint mb2wc(FXwchar& wc,const FXchar* src,FXint nsrc) const;
00016 virtual FXint wc2mb(FXchar* dst,FXint ndst,FXwchar wc) const;
00017 virtual FXint mibEnum() const;
00018 virtual const FXchar* name() const;
00019 virtual const FXchar* mimeName() const;
00020 virtual const FXchar* const* aliases() const;
00021 virtual ~FXCP1251Codec(){}
00022 };
00023
00024 }
00025
00026 #endif