summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-05-13 21:33:30 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-05-13 21:33:30 (GMT)
commit7a4a9e1ed5733a6517124edf3c4bd55e87188dde (patch)
tree3ee63e25b792762af252d932da1bd8e40263b984 /Swiften
parent0b9db0c080dbfeef6d209544afcc120712ab445e (diff)
downloadswift-7a4a9e1ed5733a6517124edf3c4bd55e87188dde.zip
swift-7a4a9e1ed5733a6517124edf3c4bd55e87188dde.tar.bz2
Remove dead UI reference from Swiften
Diffstat (limited to 'Swiften')
-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.
*/