diff options
Diffstat (limited to 'Swiften/Network/NATPMPInterface.h')
-rw-r--r-- | Swiften/Network/NATPMPInterface.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Swiften/Network/NATPMPInterface.h b/Swiften/Network/NATPMPInterface.h index 6e7fb73..e079a59 100644 --- a/Swiften/Network/NATPMPInterface.h +++ b/Swiften/Network/NATPMPInterface.h @@ -8,13 +8,11 @@ #include <boost/optional.hpp> +#include <boost/shared_ptr.hpp> +#include <boost/noncopyable.hpp> #include <Swiften/Network/NATPortMapping.h> #include <Swiften/Network/NATTraversalInterface.h> -// This has to be included after the previous headers, because of WIN32 macro -// being defined somewhere. -#include <natpmp.h> - namespace Swift { - class NATPMPInterface : public NATTraversalInterface { + class NATPMPInterface : public NATTraversalInterface, boost::noncopyable { public: NATPMPInterface(); @@ -28,5 +26,6 @@ namespace Swift { private: - natpmp_t natpmp; + struct Private; + boost::shared_ptr<Private> p; }; } |