Commit 61e2e8f88307630fae511d876b877bcd7ead6939
1 parent
acd66457
Exists in
master
and in
1 other branch
Implementing wait method.
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
common/src/include/lib3270/ipc.h
| @@ -455,6 +455,12 @@ | @@ -455,6 +455,12 @@ | ||
| 455 | /// @brief Request print | 455 | /// @brief Request print |
| 456 | Host & print(LIB3270_CONTENT_OPTION option = LIB3270_CONTENT_ALL); | 456 | Host & print(LIB3270_CONTENT_OPTION option = LIB3270_CONTENT_ALL); |
| 457 | 457 | ||
| 458 | + /// @brief Wait. | ||
| 459 | + inline Host & wait(unsigned short seconds) { | ||
| 460 | + session->wait(seconds); | ||
| 461 | + return *this; | ||
| 462 | + } | ||
| 463 | + | ||
| 458 | // Set contents. | 464 | // Set contents. |
| 459 | 465 | ||
| 460 | /// @brief Input string. | 466 | /// @brief Input string. |