00001 00002 #ifndef header_browse_client_generic 00003 #define header_browse_client_generic 00004 00005 #include "API/signals.h" 00006 #include <string> 00007 class CL_IPAddress; 00008 00009 class CL_BrowseClient_Generic 00010 { 00012 public: 00013 CL_BrowseClient_Generic( 00014 const CL_IPAddress &browse_master, 00015 const std::string &app_id); 00016 // Connect to browse master and start downloading getting browse list. 00017 00018 virtual ~CL_BrowseClient_Generic(); 00019 00021 public: 00022 CL_Signal_v2<const CL_IPAddress &, const std::string &> sig_server_added; 00023 // Signal that is called when the browse client is notified about a server addition. 00024 00025 CL_Signal_v2<const CL_IPAddress &, const std::string &> sig_server_updated; 00026 // Signal that is called when the browse client is notified about a server update. 00027 00028 CL_Signal_v1<const CL_IPAddress &> sig_server_removed; 00029 // Signal that is called when the browse client is notified about a server removal. 00030 00032 public: 00033 00035 private: 00036 }; 00037 00038 #endif
1.2.6 written by Dimitri van Heesch,
© 1997-2001