blob: 39f23be6c6d5652cc75c432c195da452acb7cfaf (
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
|
/*
* 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 ViewHistoryController {
public:
ViewHistoryController(ViewHistoryWindowFactory* viewHistoryWindowFactory, UIEventStream* uiEventStream);
~ViewHistoryController();
void setAvailable(bool b);
private:
void handleUIEvent(UIEvent::ref event);
ViewHistoryWindowFactory* viewHistoryWindowFactory;
UIEventStream* uiEventStream;
ViewHistoryWindow* viewHistoryWindow;
};
}
|