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
parent0b9db0c080dbfeef6d209544afcc120712ab445e (diff)
downloadswift-contrib-7a4a9e1ed5733a6517124edf3c4bd55e87188dde.zip
swift-contrib-7a4a9e1ed5733a6517124edf3c4bd55e87188dde.tar.bz2
Remove dead UI reference from Swiften
-rw-r--r--Swift/Controllers/AdHocManager.cpp2
-rw-r--r--Swiften/AdHoc/OutgoingAdHocCommandSession.cpp2
-rw-r--r--Swiften/AdHoc/OutgoingAdHocCommandSession.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/Swift/Controllers/AdHocManager.cpp b/Swift/Controllers/AdHocManager.cpp
index 0fa63a1..834aaec 100644
--- a/Swift/Controllers/AdHocManager.cpp
+++ b/Swift/Controllers/AdHocManager.cpp
@@ -62,7 +62,7 @@ void AdHocManager::handleServerDiscoItemsResponse(boost::shared_ptr<DiscoItems>
void AdHocManager::handleUIEvent(boost::shared_ptr<UIEvent> event) {
boost::shared_ptr<RequestAdHocUIEvent> adHocEvent = boost::dynamic_pointer_cast<RequestAdHocUIEvent>(event);
if (adHocEvent) {
- factory_->createAdHocCommandWindow(boost::shared_ptr<OutgoingAdHocCommandSession>(new OutgoingAdHocCommandSession(adHocEvent->getCommand(), factory_, iqRouter_)));
+ factory_->createAdHocCommandWindow(boost::shared_ptr<OutgoingAdHocCommandSession>(new OutgoingAdHocCommandSession(adHocEvent->getCommand(), iqRouter_)));
}
}
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.
*/