*/
-#include <wx/wx.h>
-#include <wx/spinctrl.h>
+#include "table_dialog.h"
-class ServerDescription;
-
-class ServerDialog : public wxDialog
+class ServerDialog : public TableDialog
{
public:
- ServerDialog (wxWindow *, ServerDescription *);
+ ServerDialog (wxWindow *);
- ServerDescription* server () const;
+ void set (std::string);
+ std::string get () const;
private:
- void host_changed (wxCommandEvent &);
- void threads_changed (wxCommandEvent &);
-
- ServerDescription* _server;
wxTextCtrl* _host;
- wxSpinCtrl* _threads;
};