|
a/libupnpp/upnpplib.hxx |
|
b/libupnpp/upnpplib.hxx |
|
... |
|
... |
22 |
|
22 |
|
23 |
#include <upnp/upnp.h>
|
23 |
#include <upnp/upnp.h>
|
24 |
#include <upnp/upnptools.h>
|
24 |
#include <upnp/upnptools.h>
|
25 |
|
25 |
|
26 |
#include "ptmutex.hxx"
|
26 |
#include "ptmutex.hxx"
|
|
|
27 |
|
|
|
28 |
namespace UPnPP {
|
27 |
|
29 |
|
28 |
/** Our link to libupnp. Initialize and keep the handle around */
|
30 |
/** Our link to libupnp. Initialize and keep the handle around */
|
29 |
class LibUPnP {
|
31 |
class LibUPnP {
|
30 |
public:
|
32 |
public:
|
31 |
~LibUPnP();
|
33 |
~LibUPnP();
|
|
... |
|
... |
131 |
UpnpClient_Handle m_clh;
|
133 |
UpnpClient_Handle m_clh;
|
132 |
PTMutexInit m_mutex;
|
134 |
PTMutexInit m_mutex;
|
133 |
std::map<Upnp_EventType, Handler> m_handlers;
|
135 |
std::map<Upnp_EventType, Handler> m_handlers;
|
134 |
};
|
136 |
};
|
135 |
|
137 |
|
|
|
138 |
} // namespace UPnPP
|
|
|
139 |
|
136 |
#endif /* _LIBUPNP.H_X_INCLUDED_ */
|
140 |
#endif /* _LIBUPNP.H_X_INCLUDED_ */
|