1
This commit is contained in:
2022-07-16 20:13:41 +02:00
parent bf14c58a25
commit 75a77a8394

View File

@ -10,12 +10,12 @@ private:
char lastChar;
public:
Thread& thread; // Thread which contains this listener, so the listener can block the thread
Thread& thread; // Thread which contains this listener, so the listener can block the thread
KeyEventListener(Thread& thread) : thread(thread) {}
char waitForKeyEvent() const; // Blocks the thread until woken up by manager
void trigger(char c); // Gets called from KeyEventManager
char waitForKeyEvent() const; // Blocks the thread until woken up by manager
void trigger(char c); // Gets called from KeyEventManager
};
#endif