Merge branch 'prefs' of ssh://carlh.dyndns.org/home/carl/git/dcpomatic into prefs
[dcpomatic.git] / src / wx / server_dialog.h
index 0912fd60f19291a866b57cc5456320d9f7e24e00..9d758d7c0489c5d38e73d122e138adbaa6bb3312 100644 (file)
 */
 
 #include <wx/wx.h>
-#include <wx/spinctrl.h>
-
-class ServerDescription;
 
 class ServerDialog : public wxDialog
 {
 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;
 };