1/*
2 This file is part of the KDE project
3
4 SPDX-FileCopyrightText: 2004 Jakub Stachowski <qbast@go2.pl>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#include "domainbrowser.h"
10#include "servicebrowser.h"
11#include <QHash>
12#include <QStringList>
13
14namespace KDNSSD
15{
16class ServiceBrowserPrivate
17{
18};
19
20ServiceBrowser::ServiceBrowser(const QString &, bool, const QString &, const QString &)
21 : d(nullptr)
22{
23}
24
25bool ServiceBrowser::isAutoResolving() const
26{
27 return false;
28}
29
30ServiceBrowser::State ServiceBrowser::isAvailable()
31{
32 return Unsupported;
33}
34ServiceBrowser::~ServiceBrowser()
35{
36}
37
38void ServiceBrowser::startBrowse()
39{
40 Q_EMIT finished();
41}
42
43QList<RemoteService::Ptr> ServiceBrowser::services() const
44{
45 return QList<RemoteService::Ptr>();
46}
47
48void ServiceBrowser::virtual_hook(int, void *)
49{
50}
51
52QHostAddress ServiceBrowser::resolveHostName(const QString &hostname)
53{
54 Q_UNUSED(hostname);
55 return QHostAddress();
56}
57
58QString ServiceBrowser::getLocalHostName()
59{
60 return QString();
61}
62
63}
64
65#include "moc_servicebrowser.cpp"
66

source code of kdnssd/src/dummy-servicebrowser.cpp