Platform/PlatformApplication: define getMessageQueue() here as it is not platform specific.
This commit is contained in:
parent
4380f1ed01
commit
2ac3b5b8cc
6 changed files with 12 additions and 18 deletions
|
|
@ -2,13 +2,13 @@
|
|||
#ifndef SPECTRE_PLATFORM_H
|
||||
#define SPECTRE_PLATFORM_H
|
||||
|
||||
#include <Spectre/System/MessageQueue.h>
|
||||
#include <Spectre/Core/NonCopyable.h>
|
||||
|
||||
namespace sp {
|
||||
|
||||
class PlatformInput;
|
||||
class PlatformDisplay;
|
||||
class MessageQueue;
|
||||
|
||||
class PlatformApplication : NonCopyable
|
||||
{
|
||||
|
|
@ -23,7 +23,12 @@ public :
|
|||
|
||||
virtual PlatformInput& getInput() = 0;
|
||||
|
||||
virtual MessageQueue& getMessageQueue() = 0;
|
||||
MessageQueue& getMessageQueue();
|
||||
|
||||
protected :
|
||||
|
||||
MessageQueue m_messageQueue;
|
||||
|
||||
};
|
||||
|
||||
} // namespace sp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue