#pragma once #include #include #include namespace bell { class MDNSService { public: virtual ~MDNSService() { } static std::unique_ptr registerService( const std::string &serviceName, const std::string &serviceType, const std::string &serviceProto, const std::string &serviceHost, int servicePort, const std::map txtData ); virtual void unregisterService() = 0; }; } // namespace bell