class ServerDialog : public wxDialog
{
public:
- ServerDialog (wxWindow *, ServerDescription *);
+ ServerDialog (wxWindow *, boost::shared_ptr<ServerDescription>);
- ServerDescription* server () const;
+ boost::shared_ptr<ServerDescription> server () const;
private:
void host_changed ();
void threads_changed ();
- ServerDescription* _server;
+ boost::shared_ptr<ServerDescription> _server;
wxTextCtrl* _host;
wxSpinCtrl* _threads;
};