diff options
Diffstat (limited to 'Swift/Controllers/ViewHistoryController.h')
-rw-r--r-- | Swift/Controllers/ViewHistoryController.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Swift/Controllers/ViewHistoryController.h b/Swift/Controllers/ViewHistoryController.h new file mode 100644 index 0000000..f306d19 --- /dev/null +++ b/Swift/Controllers/ViewHistoryController.h @@ -0,0 +1,30 @@ +/* + * Copyright (c) 2011 Vlad Voicu + * Licensed under the Simplified BSD license. + * See Documentation/Licenses/BSD-simplified.txt for more information. + */ + +#pragma once + +#include <Swift/Controllers/UIEvents/UIEvent.h> + +namespace Swift { + class UIEventStream; + class ViewHistoryWindowFactory; + class ViewHistoryWindow; + class RosterController; + class ViewHistoryController { + public: + ViewHistoryController(RosterController* rosterController, ViewHistoryWindowFactory* viewHistoryWindowFactory, UIEventStream* uiEventStream); + ~ViewHistoryController(); + void setAvailable(bool b); + + private: + void handleUIEvent(UIEvent::ref event); + RosterController* rosterController; + ViewHistoryWindowFactory* viewHistoryWindowFactory; + UIEventStream* uiEventStream; + ViewHistoryWindow* viewHistoryWindow; + + }; +} |