Fix length of player output so it can be either the film's length or playlist's lengt...
[dcpomatic.git] / src / wx / server_dialog.h
index 0f1352ed037d9e25d37fefe77120265832b93a6a..92b417a4c5ca6cdfc3aa36e08f1b1a60fff2a0e9 100644 (file)
 */
 
 #include "table_dialog.h"
+#include <boost/optional.hpp>
 
 class ServerDialog : public TableDialog
 {
 public:
-       ServerDialog (wxWindow *);
+       explicit ServerDialog (wxWindow *);
 
        void set (std::string);
-       std::string get () const;
+       boost::optional<std::string> get () const;
 
 private:
        wxTextCtrl* _host;