Files
squeezelite-esp32/components/spotify/cspot/bell/main/platform/MDNSService.h
2023-05-06 23:50:26 +02:00

19 lines
524 B
C++

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