From c317087f637eeaa88c00a7b415b1d42ab28ba031 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 26 Jul 2012 02:56:38 +0100 Subject: Partial server dialog fixes. --- src/lib/server.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/lib/server.h') diff --git a/src/lib/server.h b/src/lib/server.h index f7a0abb80..d06df34e9 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -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); -- cgit v1.2.3