mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 04:57:06 +03:00
move to new cspot
This commit is contained in:
21
components/spotify/cspot/bell/main/platform/MDNSService.h
Normal file
21
components/spotify/cspot/bell/main/platform/MDNSService.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
namespace bell {
|
||||
|
||||
class MDNSService {
|
||||
public:
|
||||
static void* 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
|
||||
);
|
||||
static void unregisterService(void* service);
|
||||
};
|
||||
|
||||
} // namespace bell
|
||||
Reference in New Issue
Block a user