1

renamings

This commit is contained in:
2022-07-16 00:57:58 +02:00
parent c67177f7bf
commit e1f7a7af82
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#include "user/KeyEventListener.h"
#include "user/event/KeyEventListener.h"
#include "kernel/Globals.h"
void KeyEventListener::trigger(char c) {
@ -7,5 +7,5 @@ void KeyEventListener::trigger(char c) {
char KeyEventListener::waitForKeyEvent() const {
scheduler.block();
return this->lastChar;
return this->lastChar; // This is only executed after thread is woken up by manager
}

View File

@ -1,4 +1,4 @@
#include "user/KeyEventManager.h"
#include "user/event/KeyEventManager.h"
#include "kernel/Globals.h"
void KeyEventManager::subscribe(KeyEventListener& listener) {

View File

@ -1,7 +1,7 @@
#ifndef __KeyEventManager_Include_H_
#define __KeyEventManager_Include_H_
#include "user/KeyEventListener.h"
#include "user/event/KeyEventListener.h"
// NOTE: Could do this more generally but we only have key events
@ -17,7 +17,7 @@ public:
KeyEventManager() {}
void subscribe(KeyEventListener& listener);
void broadcast(char c); // Unblocks all input waiting threads, I don't have a method to direct input
void broadcast(char c); // Unblocks all input waiting threads, I don't have a method to direct input
};
#endif