mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 21:17:18 +03:00
make it fit in allocated space
This commit is contained in:
@@ -2,12 +2,14 @@
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <memory>
|
||||
|
||||
namespace bell {
|
||||
|
||||
class MDNSService {
|
||||
public:
|
||||
static void* registerService(
|
||||
public:
|
||||
virtual ~MDNSService() { }
|
||||
static std::unique_ptr<MDNSService> registerService(
|
||||
const std::string &serviceName,
|
||||
const std::string &serviceType,
|
||||
const std::string &serviceProto,
|
||||
@@ -15,7 +17,7 @@ class MDNSService {
|
||||
int servicePort,
|
||||
const std::map<std::string, std::string> txtData
|
||||
);
|
||||
static void unregisterService(void* service);
|
||||
virtual void unregisterService() = 0;
|
||||
};
|
||||
|
||||
} // namespace bell
|
||||
Reference in New Issue
Block a user