projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove configuration of servers.
[dcpomatic.git]
/
src
/
lib
/
server_finder.h
diff --git
a/src/lib/server_finder.h
b/src/lib/server_finder.h
index 04a7786cf4442a255268660a93a9673626f4dcc8..f964d4e1abf5df854c69bc908380929b05c1daed 100644
(file)
--- a/
src/lib/server_finder.h
+++ b/
src/lib/server_finder.h
@@
-27,6
+27,10
@@
public:
static ServerFinder* instance ();
static ServerFinder* instance ();
+ void disable () {
+ _disabled = true;
+ }
+
private:
ServerFinder ();
private:
ServerFinder ();
@@
-34,6
+38,8
@@
private:
void listen_thread ();
boost::signals2::signal<void (ServerDescription)> ServerFound;
void listen_thread ();
boost::signals2::signal<void (ServerDescription)> ServerFound;
+
+ bool _disabled;
/** Thread to periodically issue broadcasts to find encoding servers */
boost::thread* _broadcast_thread;
/** Thread to periodically issue broadcasts to find encoding servers */
boost::thread* _broadcast_thread;