summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/NATPMPNATTraversalGetPublicIPRequest.h')
-rw-r--r--Swiften/Network/NATPMPNATTraversalGetPublicIPRequest.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/Swiften/Network/NATPMPNATTraversalGetPublicIPRequest.h b/Swiften/Network/NATPMPNATTraversalGetPublicIPRequest.h
new file mode 100644
index 0000000..6112091
--- /dev/null
+++ b/Swiften/Network/NATPMPNATTraversalGetPublicIPRequest.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2011 Tobias Markmann
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+#pragma once
+
+#include <Swiften/Network/PlatformNATTraversalGetPublicIPRequest.h>
+
+namespace Swift {
+
+class NATPMPNATTraversalGetPublicIPRequest : public PlatformNATTraversalGetPublicIPRequest {
+public:
+ NATPMPNATTraversalGetPublicIPRequest(PlatformNATTraversalWorker*);
+ virtual ~NATPMPNATTraversalGetPublicIPRequest();
+
+ //virtual void run();
+ virtual void runBlocking();
+};
+
+}