blob: 1e806f9c9ad5f1c8247397e3132dc9e27f6bd81e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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(ViewHistoryWindowFactory* viewHistoryWindowFactory, UIEventStream* uiEventStream);
~ViewHistoryController();
void setAvailable(bool b);
private:
void handleUIEvent(UIEvent::ref event);
RosterController* rosterController;
ViewHistoryWindowFactory* viewHistoryWindowFactory;
UIEventStream* uiEventStream;
ViewHistoryWindow* viewHistoryWindow;
};
}
|