KDNSSD

dummy-servicebrowser.cpp
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{
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"
ServiceBrowser(const QString &type, bool autoResolve=false, const QString &domain=QString(), const QString &subtype=QString())
Create a ServiceBrowser for a particular service type.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:10:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.