summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-02 09:56:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-02 09:57:26 +0200
commitd4b43fa1e146ca11dcd53acae5eb20944d3cbc94 (patch)
tree67536ad5f2de5cc93c433580b1681b3ac078f47b
parentFix typos (diff)
downloadcore-d4b43fa1e146ca11dcd53acae5eb20944d3cbc94.tar.gz
core-d4b43fa1e146ca11dcd53acae5eb20944d3cbc94.zip
Fix building sd remotecontroll code
...after d68a0fc050ea4d57e15246f8e71781cd42ebdaa1 "loplugin:unusedmethods" Change-Id: If167025b7892738cbbbefd5fe4966a5e6aee57f3
-rw-r--r--sd/source/ui/remotecontrol/ZeroconfService.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/ZeroconfService.hxx b/sd/source/ui/remotecontrol/ZeroconfService.hxx
index 42381baf98ec..832fc9fe725e 100644
--- a/sd/source/ui/remotecontrol/ZeroconfService.hxx
+++ b/sd/source/ui/remotecontrol/ZeroconfService.hxx
@@ -40,6 +40,9 @@ namespace sd{
:name(aname), port(aport){}
virtual ~ZeroconfService(){}
+ std::string getName() const {return name;}
+ void setName(const char * n) {name = n;}
+
// Clean up the service when closing
virtual void clear() = 0;
// Bonjour for OSX, Avahi for Linux