From 2772a41917ecb7934206b0f4476db96bb46d0320 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 28 Mar 2007 22:29:23 +0000 Subject: [PATCH] - Added some missing functions body :) **WIP** but I need to sleep now. Will resume tomorrow :) --- src/upnp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/upnp.h b/src/upnp.h index 9a2907bb1..668646556 100644 --- a/src/upnp.h +++ b/src/upnp.h @@ -42,19 +42,19 @@ class UPnPHandler : public QThread { private: UpnpClient_Handle UPnPClientHandle; - QHash UPnPDevices; + QHash UPnPDevices; public: UPnPHandler(){} ~UPnPHandler(){} public slots: - void addUPnPDevice(struct Upnp_Discovery* device, IXML_Document *){ - + void addUPnPDevice(struct Upnp_Discovery* device, IXML_Document *doc){ + UPnPDevices.insert(QString(device->DeviceId), new UPnPDevice(device, doc)); } void removeUPnPDevice(QString device_id){ - + UPnPDevices.remove(device_id); } private: