1 | #ifndef ENGINE_SERVER_UPNP_H |
---|---|
2 | #define ENGINE_SERVER_UPNP_H |
3 | |
4 | #include <base/types.h> |
5 | class CUPnP |
6 | { |
7 | NETADDR m_Addr; |
8 | struct UPNPUrls *m_pUPnPUrls; |
9 | struct IGDdatas *m_pUPnPData; |
10 | struct UPNPDev *m_pUPnPDevice; |
11 | bool m_Enabled; |
12 | |
13 | public: |
14 | void Open(NETADDR Address); |
15 | void Shutdown(); |
16 | }; |
17 | |
18 | #endif |
19 |