ddnet/src/engine/server/upnp.h
heinrich5991 05af24a052 Make less headers depend on <base/system.h>
Move a couple of trivial type definitions to `<base/types.h>` instead.
2023-12-11 23:52:23 +01:00

19 lines
292 B
C++

#ifndef ENGINE_SERVER_UPNP_H
#define ENGINE_SERVER_UPNP_H
#include <base/types.h>
class CUPnP
{
NETADDR m_Addr;
struct UPNPUrls *m_pUPnPUrls;
struct IGDdatas *m_pUPnPData;
struct UPNPDev *m_pUPnPDevice;
bool m_Enabled;
public:
void Open(NETADDR Address);
void Shutdown();
};
#endif