first commit
This commit is contained in:
36
include/engine/ui/ui_scene_event_interface.h
Normal file
36
include/engine/ui/ui_scene_event_interface.h
Normal file
@ -0,0 +1,36 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#ifndef __UISCENEEVENTINTERFACE__
|
||||
#define __UISCENEEVENTINTERFACE__
|
||||
|
||||
|
||||
namespace GS {
|
||||
namespace S2D {
|
||||
|
||||
class Scene;
|
||||
|
||||
/*!
|
||||
@short UI scene event interface.
|
||||
|
||||
Implement this class if you wish to process script events from C++.
|
||||
@author Emmanuel Julien (ejulien@nworks.fr)
|
||||
*/
|
||||
struct ISceneEvent
|
||||
{
|
||||
virtual void OnSetup(Scene *) {}
|
||||
virtual void OnReset(Scene *) {}
|
||||
virtual void OnUpdate(Scene *) {}
|
||||
virtual void OnDelete(Scene *) {}
|
||||
|
||||
virtual ~ISceneEvent() {}
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif // __UISCENEEVENTINTERFACE__
|
||||
Reference in New Issue
Block a user