Partial server dialog fixes.
[dcpomatic.git] / src / lib / server.h
index f7a0abb800163985e22129c413790135b80528bb..d06df34e9e649dd84d49a85dc6472f6c5cf2b87a 100644 (file)
@@ -48,6 +48,14 @@ public:
                return _threads;
        }
 
+       void set_host_name (std::string n) {
+               _host_name = n;
+       }
+
+       void set_threads (int t) {
+               _threads = t;
+       }
+
        std::string as_metadata () const;
        
        static Server * create_from_metadata (std::string v);