File: SoapyMDNSEndpointNone.cpp

package info (click to toggle)
soapyremote 0.5.2-4.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 608 kB
  • sloc: cpp: 7,724; makefile: 13
file content (39 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright (c) 2018-2018 Josh Blum
// SPDX-License-Identifier: BSL-1.0

#include "SoapyMDNSEndpoint.hpp"
#include <SoapySDR/Logger.hpp>

SoapyMDNSEndpoint::SoapyMDNSEndpoint(void):
    _impl(nullptr)
{
    return;
}

SoapyMDNSEndpoint::~SoapyMDNSEndpoint(void)
{
    return;
}

void SoapyMDNSEndpoint::printInfo(void)
{
    //we usually can build avahi support on linux, so only warn on linux
    #ifdef __linux__
    SoapySDR::log(SOAPY_SDR_WARNING, "SoapyRemote compiled without DNS-SD support!");
    #endif //__linux__
}

bool SoapyMDNSEndpoint::status(void)
{
    return true;
}

void SoapyMDNSEndpoint::registerService(const std::string &, const std::string &, const int)
{
    return;
}

std::map<std::string, std::map<int, std::string>> SoapyMDNSEndpoint::getServerURLs(const int, const long)
{
    return {};
}