| 31 | |
| 32 | |
| 33 | bool StdInUI::checkCommand(std::string& str) { |
| 34 | if (std::cin.eof()) { |
| 35 | str = "/quit"; |
| 36 | return true; |
| 37 | } |
| 38 | std::getline(std::cin, str); |
| 39 | if (str == "") { |
| 40 | return false; |
| 41 | } |
| 42 | return true; |
| 43 | } |
| 44 | |
| 45 | |
| 46 | BZAdminUI* StdInUI::creator(BZAdminClient& client) { |