Browse Subversion Repository
Contents of /jpinput/PlainTextConverter.h
Parent Directory
| Revision Log
Revision 191 -
( show annotations)
( download)
( as text)
Fri Jan 4 02:49:36 2008 UTC
(16 years, 3 months ago)
by satofumi
File MIME type: text/x-chdr
File size: 950 byte(s)
using namespace beego
| 1 |
#ifndef PLAIN_TEXT_CONVERTER_H |
| 2 |
#define PLAIN_TEXT_CONVERTER_H |
| 3 |
|
| 4 |
/*! |
| 5 |
\file |
| 6 |
\brief –³•ÏŠ·ƒNƒ‰ƒX |
| 7 |
|
| 8 |
\author Satofumi KAMIMURA |
| 9 |
|
| 10 |
$Id$ |
| 11 |
*/ |
| 12 |
|
| 13 |
#include "TextConvertInterface.h" |
| 14 |
#include <memory> |
| 15 |
|
| 16 |
|
| 17 |
namespace beego { |
| 18 |
class PlainTextConverter : public TextConvertInterface { |
| 19 |
PlainTextConverter(const PlainTextConverter& rhs); |
| 20 |
PlainTextConverter& operator = (const PlainTextConverter& rhs); |
| 21 |
|
| 22 |
struct pImpl; |
| 23 |
const std::auto_ptr<pImpl> pimpl; |
| 24 |
|
| 25 |
public: |
| 26 |
PlainTextConverter(void); |
| 27 |
~PlainTextConverter(void); |
| 28 |
|
| 29 |
void clear(void); |
| 30 |
void setConvertBuffer(const std::vector<Uint16>& buffer); |
| 31 |
void getConvertBuffer(std::vector<Uint16>& buffer); |
| 32 |
bool addChar(char ch); |
| 33 |
bool moveLeft(void); |
| 34 |
bool moveRight(void); |
| 35 |
bool moveUp(void); |
| 36 |
bool moveDown(void); |
| 37 |
bool escapePressed(void); |
| 38 |
bool deleteBack(void); |
| 39 |
bool deleteCurrent(void); |
| 40 |
bool convertInput(void); |
| 41 |
}; |
| 42 |
}; |
| 43 |
|
| 44 |
#endif /* !PLAIN_TEXT_CONVERTER_H */ |
|