diff options
Diffstat (limited to '')
-rw-r--r-- | sd/source/ui/remotecontrol/WINNetworkService.hxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/WINNetworkService.hxx b/sd/source/ui/remotecontrol/WINNetworkService.hxx new file mode 100644 index 000000000..3d096dc0f --- /dev/null +++ b/sd/source/ui/remotecontrol/WINNetworkService.hxx @@ -0,0 +1,23 @@ +#pragma once + +#include <string> +#undef WB_LEFT +#undef WB_RIGHT +#include <dns_sd.h> +#include "ZeroconfService.hxx" + +namespace sd{ + class WINNetworkService : public ZeroconfService + { + private: + DNSServiceRef client; + + public: + WINNetworkService(const std::string& aname = "", unsigned int aport = 1599) + : ZeroconfService(aname, aport), client(nullptr) {} + + void clear() override; + void setup() override; + + }; +} |