1
0
Fork 0

System/SystemEvent: Merge with Input/InputEvent into just Event.

This commit is contained in:
Henrik Hautakoski 2020-01-30 22:40:09 +01:00
parent 858e721451
commit 10198484e7
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
12 changed files with 152 additions and 80 deletions

View file

@ -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