From 12646034589e653027b2b2e82ecf2589586da129 Mon Sep 17 00:00:00 2001
From: Vlad Voicu <vladvoic@gmail.com>
Date: Mon, 23 May 2011 22:57:30 +0300
Subject: Roster Controller deletion from HistoryController


diff --git a/Swift/Controllers/ViewHistoryController.cpp b/Swift/Controllers/ViewHistoryController.cpp
index 19b4abb..4b285ec 100644
--- a/Swift/Controllers/ViewHistoryController.cpp
+++ b/Swift/Controllers/ViewHistoryController.cpp
@@ -15,7 +15,7 @@
 
 namespace Swift {
 
-ViewHistoryController::ViewHistoryController(ViewHistoryWindowFactory* viewHistoryWindowFactory, UIEventStream* uiEventStream): rosterController(rosterController), viewHistoryWindowFactory(viewHistoryWindowFactory), uiEventStream(uiEventStream), viewHistoryWindow(NULL) {
+ViewHistoryController::ViewHistoryController(ViewHistoryWindowFactory* viewHistoryWindowFactory, UIEventStream* uiEventStream): viewHistoryWindowFactory(viewHistoryWindowFactory), uiEventStream(uiEventStream), viewHistoryWindow(NULL) {
 	uiEventStream->onUIEvent.connect(boost::bind(&ViewHistoryController::handleUIEvent, this, _1));
 }
 
diff --git a/Swift/Controllers/ViewHistoryController.h b/Swift/Controllers/ViewHistoryController.h
index 1e806f9..39f23be 100644
--- a/Swift/Controllers/ViewHistoryController.h
+++ b/Swift/Controllers/ViewHistoryController.h
@@ -12,7 +12,6 @@ namespace Swift {
 	class UIEventStream;
 	class ViewHistoryWindowFactory;
 	class ViewHistoryWindow;
-	class RosterController;
 	class ViewHistoryController {
 		public:
 			ViewHistoryController(ViewHistoryWindowFactory* viewHistoryWindowFactory, UIEventStream* uiEventStream);
@@ -21,7 +20,6 @@ namespace Swift {
 
 		private:
 			void handleUIEvent(UIEvent::ref event);
-			RosterController* rosterController;
 			ViewHistoryWindowFactory* viewHistoryWindowFactory;
 			UIEventStream* uiEventStream;
 			ViewHistoryWindow* viewHistoryWindow;
-- 
cgit v0.10.2-6-g49f6