00001 #ifndef __RAINHOOKS 00002 #define __RAINHOOKS 00003 00004 00005 #include "RainDefines.h" 00006 #include "..\..\Graphics\GXCOMDLL\GXCOMDLL.h"//for IGXRenderer 00007 #include "ReignSound.h"//for ISoundPlayer, auto genderated by midl 00008 #include "RainGraphics.h" 00009 00010 00011 00012 class CRainHooks 00013 { 00014 public: 00015 virtual ~CRainHooks(){} 00016 00017 virtual bool Init(ISoundPlayer* pSound, 00018 CRainGraphics* pGraphics)=0; 00019 00020 virtual bool OnFrame()=0; 00021 }; 00022 00023 CRainHooks* CreateRainHooks(); 00024 void DeleteRainHooks(CRainHooks* pDel); 00025 00026 00027 00028 00029 00030 00031 #endif