Remove configuration of servers.
[dcpomatic.git] / src / lib / server_finder.h
index 04a7786cf4442a255268660a93a9673626f4dcc8..f964d4e1abf5df854c69bc908380929b05c1daed 100644 (file)
@@ -27,6 +27,10 @@ public:
 
        static ServerFinder* instance ();
 
+       void disable () {
+               _disabled = true;
+       }
+
 private:
        ServerFinder ();
 
@@ -34,6 +38,8 @@ private:
        void listen_thread ();
 
        boost::signals2::signal<void (ServerDescription)> ServerFound;
+
+       bool _disabled;
        
        /** Thread to periodically issue broadcasts to find encoding servers */
        boost::thread* _broadcast_thread;