source/Platform/Unix: stub implementation
This commit is contained in:
parent
b0d14b91e0
commit
38d333862a
20 changed files with 498 additions and 2 deletions
30
source/Platform/Unix/UnixApplication.h
Normal file
30
source/Platform/Unix/UnixApplication.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
|
||||
#ifndef PLATFORM_UNIX_APPLICATION_H
|
||||
#define PLATFORM_UNIX_APPLICATION_H
|
||||
|
||||
#include <Spectre/System/MessageQueue.h>
|
||||
#include <Platform/PlatformApplication.h>
|
||||
#include "X11Input.h"
|
||||
|
||||
namespace sp {
|
||||
|
||||
class UnixApplication : public PlatformApplication
|
||||
{
|
||||
public :
|
||||
virtual void init();
|
||||
|
||||
virtual void shutdown();
|
||||
|
||||
virtual PlatformInput& getInput();
|
||||
|
||||
virtual MessageQueue& getMessageQueue();
|
||||
|
||||
protected :
|
||||
|
||||
X11Input m_input;
|
||||
MessageQueue m_messageQueue;
|
||||
};
|
||||
|
||||
} // namespace sp
|
||||
|
||||
#endif /* PLATFORM_UNIX_APPLICATION_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue