![]() |
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_IVARIA_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 SCF_VERSION (iGUIServer, 0, 0, 1); 00027 00034 struct iGUIServer : public iBase 00035 { 00037 virtual void SetDrawState (bool) = 0; 00038 00040 virtual void SetKeyboardState (bool) = 0; 00041 00043 virtual void SetMouseState (bool) = 0; 00044 00046 virtual void SetConnection (iGUIConnection *) = 0; 00047 00049 virtual void ClientConnected (csGUIClientHandle) = 0; 00050 00052 virtual void ClientDisconnected (csGUIClientHandle) = 0; 00053 }; 00054 00055 #endif