+ void OnClose(wxCloseEvent& event);
+ void Enable();
+ void Disconnect();
+
+protected:
+ wxButton* GetStart() { return (wxButton*) FindWindow( ID_START ); }
+ wxChoice* GetServername() { return (wxChoice*) FindWindow( ID_SERVERNAME ); }
+ wxChoice* GetHostname() { return (wxChoice*) FindWindow( ID_HOSTNAME ); }
+ wxChoice* GetTopic() { return (wxChoice*) FindWindow( ID_TOPIC ); }
+ wxButton* GetDisconnect() { return (wxButton*) FindWindow( ID_DISCONNECT ); }
+ wxButton* GetStartAdvise() { return (wxButton*) FindWindow( ID_STARTADVISE ); }
+ wxButton* GetStopAdvise() { return (wxButton*) FindWindow( ID_STOPADVISE ); }
+ wxButton* GetRequest() { return (wxButton*) FindWindow( ID_REQUEST ); }
+ wxButton* GetPoke() { return (wxButton*) FindWindow( ID_POKE ); }
+ wxButton* GetExecute() { return (wxButton*) FindWindow( ID_EXECUTE ); }
+ wxTextCtrl* GetLog() { return (wxTextCtrl*) FindWindow( ID_LOG ); }
+
+ MyClient *m_client;
+
+ void OnStart( wxCommandEvent &event );
+ void OnServername( wxCommandEvent &event );
+ void OnHostname( wxCommandEvent &event );
+ void OnTopic( wxCommandEvent &event );
+ void OnDisconnect( wxCommandEvent &event );
+ void OnStartAdvise( wxCommandEvent &event );
+ void OnStopAdvise( wxCommandEvent &event );