![]() |
Public API Reference |
00001 /* 00002 Crystal Space GUI Server Interface 00003 (C) 2003 Mat Sutcliffe <oktal@gmx.co.uk> 00004 00005 */ 00006 00007 #ifndef __CS_IVARIA_GSERVER_H__ 00008 #define __CS_IVAR_A_GSERVER_H__ 00009 00010 #include "csutil/scf.h" 00011 00012 typedef int csGUIClientHandle; 00013 00014 SCF_VERSION (iGUIConnection, 0, 0, 1); 00015 00022 struct iGUIConnection : public iBase 00023 { 00024 00025 }; 00026 00027 SCF_VERSION (iGUIServer, 0, 0, 1); 00028 00035 struct iGUIServer : public iBase 00036 { 00038 virtual void SetDrawState (bool) = 0; 00039 00041 virtual void SetKeyboardState (bool) = 0; 00042 00044 virtual void SetMouseState (bool) = 0; 00045 00047 virtual void SetConnection (iGUIConnection *) = 0; 00048 00050 virtual void ClientConnected (csGUIClientHandle) = 0; 00051 00053 virtual void ClientDisconnected (csGUIClientHandle) = 0; 00054 }; 00055 00056 #endif