Commit 0133e2029402534eef5d03f5e7976c1313affc56
1 parent
7b56d86e
Exists in
master
and in
5 other branches
Isolando função get/set sem tradução de charset.
Showing
1 changed file
with
8 additions
and
8 deletions
Show diff stats
src/include/pw3270/class.h
| ... | ... | @@ -179,14 +179,6 @@ |
| 179 | 179 | virtual int wait(int seconds) = 0; |
| 180 | 180 | virtual int iterate(bool wait = true) = 0; |
| 181 | 181 | |
| 182 | - // Get/Set/Test without charset translation | |
| 183 | - virtual string get_text(int baddr = 0, size_t len = 1) = 0; | |
| 184 | - virtual string get_text_at(int row, int col, size_t sz) = 0; | |
| 185 | - virtual int set_text_at(int row, int col, const char *str) = 0; | |
| 186 | - virtual int cmp_text_at(int row, int col, const char *text) = 0; | |
| 187 | - virtual int wait_for_text_at(int row, int col, const char *key, int timeout); | |
| 188 | - virtual int emulate_input(const char *str) = 0; | |
| 189 | - | |
| 190 | 182 | // Ascii<->EBCDIC translation |
| 191 | 183 | virtual const char * asc2ebc(unsigned char *str, int sz = -1) = 0; |
| 192 | 184 | virtual const char * ebc2asc(unsigned char *str, int sz = -1) = 0; |
| ... | ... | @@ -262,6 +254,14 @@ |
| 262 | 254 | protected: |
| 263 | 255 | session(); |
| 264 | 256 | |
| 257 | + // Get/Set/Test without charset translation | |
| 258 | + virtual string get_text(int baddr = 0, size_t len = 1) = 0; | |
| 259 | + virtual string get_text_at(int row, int col, size_t sz) = 0; | |
| 260 | + virtual int set_text_at(int row, int col, const char *str) = 0; | |
| 261 | + virtual int cmp_text_at(int row, int col, const char *text) = 0; | |
| 262 | + virtual int wait_for_text_at(int row, int col, const char *key, int timeout); | |
| 263 | + virtual int emulate_input(const char *str) = 0; | |
| 264 | + | |
| 265 | 265 | private: |
| 266 | 266 | |
| 267 | 267 | session * prev; | ... | ... |