PlainTextConverter.h

Go to the documentation of this file.
00001 #ifndef PLAIN_TEXT_CONVERTER_H
00002 #define PLAIN_TEXT_CONVERTER_H
00003 
00013 #include "TextConvertInterface.h"
00014 #include <memory>
00015 
00016 
00017 namespace beego {
00018   class PlainTextConverter : public TextConvertInterface {
00019     PlainTextConverter(const PlainTextConverter& rhs);
00020     PlainTextConverter& operator = (const PlainTextConverter& rhs);
00021 
00022     struct pImpl;
00023     const std::auto_ptr<pImpl> pimpl;
00024 
00025   public:
00026     PlainTextConverter(void);
00027     ~PlainTextConverter(void);
00028 
00029     void clear(void);
00030     void setConvertBuffer(const std::vector<Uint16>& buffer);
00031     void getConvertBuffer(std::vector<Uint16>& buffer);
00032     bool addChar(char ch);
00033     bool moveLeft(void);
00034     bool moveRight(void);
00035     bool moveUp(void);
00036     bool moveDown(void);
00037     bool escapePressed(void);
00038     bool deleteBack(void);
00039     bool deleteCurrent(void);
00040     bool convertInput(void);
00041   };
00042 };
00043 
00044 #endif /* !PLAIN_TEXT_CONVERTER_H */
00045 

Generated on Mon Apr 13 22:52:01 2009 by  doxygen 1.5.7.1