mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
chore(console): improve structure for event-related handlers
This commit is contained in:
parent
555ebf726c
commit
1262a76331
@ -1,5 +1,5 @@
|
|||||||
#include "console/Handlers.hpp"
|
|
||||||
#include "console/Console.hpp"
|
#include "console/Console.hpp"
|
||||||
|
#include "console/EventHandlers.hpp"
|
||||||
#include "console/Screen.hpp"
|
#include "console/Screen.hpp"
|
||||||
#include "event/Event.hpp"
|
#include "event/Event.hpp"
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
6
src/console/EventHandlers.hpp
Normal file
6
src/console/EventHandlers.hpp
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#ifndef CONSOLE_EVENT_HANDLERS_HPP
|
||||||
|
#define CONSOLE_EVENT_HANDLERS_HPP
|
||||||
|
|
||||||
|
void RegisterHandlers();
|
||||||
|
|
||||||
|
#endif
|
||||||
@ -1,6 +0,0 @@
|
|||||||
#ifndef CONSOLE_HANDLERS_HPP
|
|
||||||
#define CONSOLE_HANDLERS_HPP
|
|
||||||
|
|
||||||
void RegisterHandlers();
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
#include "console/Screen.hpp"
|
#include "console/Screen.hpp"
|
||||||
#include "console/Console.hpp"
|
#include "console/Console.hpp"
|
||||||
#include "console/Handlers.hpp"
|
#include "console/EventHandlers.hpp"
|
||||||
#include "console/Types.hpp"
|
#include "console/Types.hpp"
|
||||||
#include "gx/Buffer.hpp"
|
#include "gx/Buffer.hpp"
|
||||||
#include "gx/Coordinate.hpp"
|
#include "gx/Coordinate.hpp"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user