00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef __NECALLBACK_H
00029 #define __NECALLBACK_H
00030
00031
00032 #include "base.h"
00033 #include "activator.h"
00034 #include "hashstring.h"
00035
00036
00043 namespace NeoEngine
00044 {
00045
00046
00074 class NEOENGINE_API ConfigCallback
00075 {
00076 public:
00077
00082 virtual void ConfigValueChange( const HashString &rstrKey ) = 0;
00083 };
00084
00085
00086
00087
00118 class NEOENGINE_API ConsoleCmdCallback
00119 {
00120 public:
00121
00127 virtual void ConsoleCmd( const HashString &rstrCmd, const HashString &rstrArgs ) = 0;
00128 };
00129
00130
00131
00138 class NEOENGINE_API FrameCallback : public virtual Activator
00139 {
00140 public:
00141
00146 enum FRAMECALLBACKTYPE
00147 {
00149 PERLIGHT = 0,
00150
00152 FRAMEEND = 1,
00153
00155 NUMCALLBACKS = 2
00156 };
00157
00158
00164 virtual void FrameEvent( FRAMECALLBACKTYPE eType, void *pData ) = 0;
00165 };
00166
00167
00168 };
00169
00170
00171 #endif