/* * Copyright (c) 2011 Vlad Voicu * Licensed under the Simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include namespace Swift { class UIEventStream; class ViewHistoryWindowFactory; class ViewHistoryWindow; class RosterController; class ViewHistoryController { public: ViewHistoryController(ViewHistoryWindowFactory* viewHistoryWindowFactory, UIEventStream* uiEventStream); ~ViewHistoryController(); void setAvailable(bool b); private: void handleUIEvent(UIEvent::ref event); RosterController* rosterController; ViewHistoryWindowFactory* viewHistoryWindowFactory; UIEventStream* uiEventStream; ViewHistoryWindow* viewHistoryWindow; }; }