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 14 namespace KDNSSD 15 { 16 class ServiceBrowserPrivate 17 { 18 }; 19 ServiceBrowser(const QString &,bool,const QString &,const QString &)20ServiceBrowser::ServiceBrowser(const QString &, bool, const QString &, const QString &) 21 : d(nullptr) 22 { 23 } 24 isAutoResolving() const25bool ServiceBrowser::isAutoResolving() const 26 { 27 return false; 28 } 29 isAvailable()30ServiceBrowser::State ServiceBrowser::isAvailable() 31 { 32 return Unsupported; 33 } ~ServiceBrowser()34ServiceBrowser::~ServiceBrowser() 35 { 36 } 37 startBrowse()38void ServiceBrowser::startBrowse() 39 { 40 Q_EMIT finished(); 41 } 42 services() const43QList<RemoteService::Ptr> ServiceBrowser::services() const 44 { 45 return QList<RemoteService::Ptr>(); 46 } 47 virtual_hook(int,void *)48void ServiceBrowser::virtual_hook(int, void *) 49 { 50 } 51 resolveHostName(const QString & hostname)52QHostAddress ServiceBrowser::resolveHostName(const QString &hostname) 53 { 54 Q_UNUSED(hostname); 55 return QHostAddress(); 56 } 57 getLocalHostName()58QString ServiceBrowser::getLocalHostName() 59 { 60 return QString(); 61 } 62 63 } 64 65 #include "moc_servicebrowser.cpp" 66