21 #ifndef KTUPNPMCASTSOCKET_H
22 #define KTUPNPMCASTSOCKET_H
26 #include <util/ptrmap.h>
27 #include <util/constants.h>
28 #include <ktorrent_export.h>
29 #include "upnprouter.h"
74 void error(QAbstractSocket::SocketError err);
75 void onXmlFileDownloaded(
UPnPRouter* r,
bool success);
85 class UPnPMCastSocketPrivate;
86 UPnPMCastSocketPrivate* d;
void discovered(bt::UPnPRouter *router)
UPnPRouter * findDevice(const QString &name)
Find a router using it's server name.
void saveRouters(const QString &file)
Save all routers to a file (for convenience at startup)
void setVerbose(bool v)
Set verbose mode.
void loadRouters(const QString &file)
Load all routers from a file.
Uint32 getNumDevicesDiscovered() const
Get the number of routers discovered.