reformat
This commit is contained in:
@ -10,12 +10,12 @@ private:
|
|||||||
char lastChar;
|
char lastChar;
|
||||||
|
|
||||||
public:
|
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) {}
|
KeyEventListener(Thread& thread) : thread(thread) {}
|
||||||
|
|
||||||
char waitForKeyEvent() const; // Blocks the thread until woken up by manager
|
char waitForKeyEvent() const; // Blocks the thread until woken up by manager
|
||||||
void trigger(char c); // Gets called from KeyEventManager
|
void trigger(char c); // Gets called from KeyEventManager
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user