You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
414 B
18 lines
414 B
#ifndef PLATFORMLISTENER_H
|
|
#define PLATFORMLISTENER_H
|
|
|
|
#include "platformevent.h"
|
|
|
|
class PlatformListener
|
|
{
|
|
public:
|
|
/// Fired when user tries to close the window
|
|
virtual void onClose() = 0;
|
|
/// Fired when user resize the window
|
|
virtual void onResize(const Size& size) = 0;
|
|
/// Fired when user press a key or move the mouse
|
|
virtual void onInputEvent(const InputEvent& event) = 0;
|
|
};
|
|
|
|
#endif
|