36 lines
823 B
C++
36 lines
823 B
C++
#ifndef IMSWINDOWSSCREENEVENTHANDLER_H
|
|
#define IMSWINDOWSSCREENEVENTHANDLER_H
|
|
|
|
#include "IScreenEventHandler.h"
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#include <windows.h>
|
|
|
|
//! MS Windows screen event handler interface
|
|
class IMSWindowsScreenEventHandler : public IScreenEventHandler {
|
|
public:
|
|
//! @name manipulators
|
|
//@{
|
|
|
|
//! Notify of window creation
|
|
/*!
|
|
This is called after the window is created.
|
|
*/
|
|
virtual void postCreateWindow(HWND) = 0;
|
|
|
|
//! Notify of window destruction
|
|
/*!
|
|
This is called before the window is destroyed.
|
|
*/
|
|
virtual void preDestroyWindow(HWND) = 0;
|
|
|
|
//@}
|
|
|
|
// IScreenEventHandler overrides
|
|
virtual void onScreensaver(bool activated) = 0;
|
|
virtual bool onPreDispatch(const CEvent* event) = 0;
|
|
virtual bool onEvent(CEvent* event) = 0;
|
|
virtual SInt32 getJumpZoneSize() const = 0;
|
|
};
|
|
|
|
#endif
|