System/SystemEvent: Merge with Input/InputEvent into just Event.
This commit is contained in:
parent
858e721451
commit
10198484e7
12 changed files with 152 additions and 80 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
namespace sp {
|
||||
|
||||
struct SysEvent;
|
||||
struct Event;
|
||||
|
||||
// Interface for platform specific event queue.
|
||||
class PlatformEventQueue
|
||||
|
|
@ -13,7 +13,7 @@ public :
|
|||
// Poll one event from the platform's event queue.
|
||||
// Returns false if there was no events.
|
||||
// NOTE: This method is guaranteed to be non-blocking.
|
||||
virtual bool poll(SysEvent& event) = 0;
|
||||
virtual bool poll(Event& event) = 0;
|
||||
};
|
||||
|
||||
} // namespace sp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue