tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / sd / source / ui / remotecontrol / WINNetworkService.cxx
blobbd2decf6293c1c5c6e608923f13dff8483030755
1 #include <string>
2 #include <iostream>
3 #include "WINNetworkService.hxx"
4 #include <sal/log.hxx>
6 void sd::WINNetworkService::setup()
8 DNSServiceErrorType err = DNSServiceRegister(&client, 0, 0, nullptr, kREG_TYPE, "local", nullptr, 1599, 1, "", nullptr, this );
10 if (kDNSServiceErr_NoError != err)
11 SAL_WARN("sdremote.wifi", "DNSServiceRegister failed: " << err);
13 // Fail silently
16 void sd::WINNetworkService::clear()
18 DNSServiceRefDeallocate(client);