Commit ae0b3131ad7059be7357d785d4c5e59127080575
1 parent
dd4059a1
Exists in
master
and in
1 other branch
Updating IPC module.
Showing
1 changed file
with
12 additions
and
0 deletions
Show diff stats
common/src/include/lib3270/ipc.h
| @@ -405,6 +405,10 @@ | @@ -405,6 +405,10 @@ | ||
| 405 | session->setCursor(addr); | 405 | session->setCursor(addr); |
| 406 | } | 406 | } |
| 407 | 407 | ||
| 408 | + inline void setCursorAddress(unsigned short addr) { | ||
| 409 | + session->setCursor(addr); | ||
| 410 | + } | ||
| 411 | + | ||
| 408 | /// @brief Set cursor position. | 412 | /// @brief Set cursor position. |
| 409 | inline void setCursor(unsigned short row, unsigned short col) { | 413 | inline void setCursor(unsigned short row, unsigned short col) { |
| 410 | session->setCursor(row,col); | 414 | session->setCursor(row,col); |
| @@ -415,6 +419,14 @@ | @@ -415,6 +419,14 @@ | ||
| 415 | return session->getCursorAddress(); | 419 | return session->getCursorAddress(); |
| 416 | } | 420 | } |
| 417 | 421 | ||
| 422 | + inline void setUnlockDelay(unsigned short delay) { | ||
| 423 | + return session->setUnlockDelay(delay); | ||
| 424 | + } | ||
| 425 | + | ||
| 426 | + inline void setCharSet(const char *charset) { | ||
| 427 | + return session->setCharSet(charset); | ||
| 428 | + } | ||
| 429 | + | ||
| 418 | // Get properties | 430 | // Get properties |
| 419 | 431 | ||
| 420 | /// @brief Get lib3270 version. | 432 | /// @brief Get lib3270 version. |