summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/AdHoc')
-rw-r--r--Swiften/AdHoc/OutgoingAdHocCommandSession.cpp2
-rw-r--r--Swiften/AdHoc/OutgoingAdHocCommandSession.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/AdHoc/OutgoingAdHocCommandSession.cpp b/Swiften/AdHoc/OutgoingAdHocCommandSession.cpp
index da7f042..758b5e7 100644
--- a/Swiften/AdHoc/OutgoingAdHocCommandSession.cpp
+++ b/Swiften/AdHoc/OutgoingAdHocCommandSession.cpp
@@ -11,7 +11,7 @@
#include <Swiften/Queries/GenericRequest.h>
namespace Swift {
-OutgoingAdHocCommandSession::OutgoingAdHocCommandSession(const DiscoItems::Item& command, AdHocCommandWindowFactory* /*factory*/, IQRouter* iqRouter) : command_(command), iqRouter_(iqRouter), isMultiStage_(false) {
+OutgoingAdHocCommandSession::OutgoingAdHocCommandSession(const DiscoItems::Item& command, IQRouter* iqRouter) : command_(command), iqRouter_(iqRouter), isMultiStage_(false) {
}
diff --git a/Swiften/AdHoc/OutgoingAdHocCommandSession.h b/Swiften/AdHoc/OutgoingAdHocCommandSession.h
index f4b5242..1e0a42d 100644
--- a/Swiften/AdHoc/OutgoingAdHocCommandSession.h
+++ b/Swiften/AdHoc/OutgoingAdHocCommandSession.h
@@ -16,7 +16,7 @@ namespace Swift {
class IQRouter;
class MainWindow;
class UIEventStream;
- class AdHocCommandWindowFactory;
+
class OutgoingAdHocCommandSession {
public:
@@ -29,7 +29,7 @@ namespace Swift {
Enabled /** Action is applicable and currently available */ = 2,
EnabledAndPresent = 3};
- OutgoingAdHocCommandSession(const DiscoItems::Item& command, AdHocCommandWindowFactory* factory, IQRouter* iqRouter);
+ OutgoingAdHocCommandSession(const DiscoItems::Item& command, IQRouter* iqRouter);
/**
* Send initial request to the target.
*/