tibia-client/src/framework/platform/platformlistener.h

18 lines
414 B
C
Raw Normal View History

2011-08-14 04:09:11 +02:00
#ifndef PLATFORMLISTENER_H
#define PLATFORMLISTENER_H
2011-08-15 16:06:15 +02:00
#include "platformevent.h"
2011-08-14 04:09:11 +02:00
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