LibreOffice Module sd (master) 1
WINNetworkService.hxx
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4#undef WB_LEFT
5#undef WB_RIGHT
6#include <dns_sd.h>
7#include "ZeroconfService.hxx"
8
9namespace sd{
11 {
12 private:
13 DNSServiceRef client;
14
15 public:
16 WINNetworkService(const std::string& aname = "", unsigned int aport = 1599)
17 : ZeroconfService(aname, aport), client(nullptr) {}
18
19 void clear() override;
20 void setup() override;
21
22 };
23}
WINNetworkService(const std::string &aname="", unsigned int aport=1599)