34 #ifndef UPNP_IGDCONTROLPOINT_H
35 #define UPNP_IGDCONTROLPOINT_H
44 class WanConnectionService;
74 void addPortMapping(
const QString & protocol,
const QString & remoteHost,
int externalPort,
const QString & internalClient,
int internalPort,
const QString & description,
bool enabled =
true,
int leaseDuration = 0);
76 void deletePortMapping(
const QString & protocol,
const QString & remoteHost,
int externalPort);
Definition: WanConnectionService.h:65
bool m_bGatewayAvailable
Definition: igdcontrolpoint.h:86
IgdControlPoint(const QString &hostname, int port, const QString &rootUrl)
Definition: igdcontrolpoint.cpp:48
WanConnectionService * m_pWanConnectionService
Definition: igdcontrolpoint.h:94
void addPortMapping(const QString &protocol, const QString &remoteHost, int externalPort, const QString &internalClient, int internalPort, const QString &description, bool enabled=true, int leaseDuration=0)
Definition: igdcontrolpoint.cpp:145
Definition: RootService.h:52
virtual ~IgdControlPoint()
Definition: igdcontrolpoint.cpp:66
void slotWanQueryFinished(bool error)
Definition: igdcontrolpoint.cpp:131
void slotDeviceQueried(bool error)
Definition: igdcontrolpoint.cpp:101
int m_iIgdPort
Definition: igdcontrolpoint.h:90
void initialize()
Definition: igdcontrolpoint.cpp:89
RootService * m_pRootService
Definition: igdcontrolpoint.h:92
QString m_szIgdHostname
Definition: igdcontrolpoint.h:88
QString getExternalIpAddress() const
Definition: igdcontrolpoint.cpp:75
Definition: igdcontrolpoint.h:56
void deletePortMapping(const QString &protocol, const QString &remoteHost, int externalPort)
Definition: igdcontrolpoint.cpp:155
bool isGatewayAvailable()
Definition: igdcontrolpoint.cpp:95
QString hostname()
Definition: KviRuntimeInfo.cpp:720