#ifndef EVESTANDALONE_KEYBOARDCONTROL_H #define EVESTANDALONE_KEYBOARDCONTROL_H #include #include #include #include #include #include #include #include class KeyboardControl { public: KeyboardControl(): _isQuitCommand(false), _isNextCommand(false), _isAutoplayCommand(false), _mustCancel(false) { } void PrintMenu() { std::cout<<"a - autoplay, n - next, q - quit"< _isQuitCommand; std::atomic _isNextCommand; std::atomic _isAutoplayCommand; std::atomic _mustCancel; std::unique_ptr io_thread; }; #endif //EVESTANDALONE_KEYBOARDCONTROL_H