File indexing completed on 2024-04-28 15:22:06
0001 /* 0002 This file is part of the KDE project 0003 0004 SPDX-FileCopyrightText: 2004 Jakub Stachowski <qbast@go2.pl> 0005 0006 SPDX-License-Identifier: LGPL-2.0-or-later 0007 */ 0008 0009 #include "domainbrowser.h" 0010 #include "servicebrowser.h" 0011 #include <QHash> 0012 #include <QStringList> 0013 0014 namespace KDNSSD 0015 { 0016 class ServiceBrowserPrivate 0017 { 0018 }; 0019 0020 ServiceBrowser::ServiceBrowser(const QString &, bool, const QString &, const QString &) 0021 : d(nullptr) 0022 { 0023 } 0024 0025 bool ServiceBrowser::isAutoResolving() const 0026 { 0027 return false; 0028 } 0029 0030 ServiceBrowser::State ServiceBrowser::isAvailable() 0031 { 0032 return Unsupported; 0033 } 0034 ServiceBrowser::~ServiceBrowser() 0035 { 0036 } 0037 0038 void ServiceBrowser::startBrowse() 0039 { 0040 Q_EMIT finished(); 0041 } 0042 0043 QList<RemoteService::Ptr> ServiceBrowser::services() const 0044 { 0045 return QList<RemoteService::Ptr>(); 0046 } 0047 0048 void ServiceBrowser::virtual_hook(int, void *) 0049 { 0050 } 0051 0052 QHostAddress ServiceBrowser::resolveHostName(const QString &hostname) 0053 { 0054 Q_UNUSED(hostname); 0055 return QHostAddress(); 0056 } 0057 0058 QString ServiceBrowser::getLocalHostName() 0059 { 0060 return QString(); 0061 } 0062 0063 } 0064 0065 #include "moc_servicebrowser.cpp"