]> git.lyx.org Git - lyx.git/blob - src/frontends/WorkAreaManager.h
5d7e9cc0ef69f8e1a7db581784692f4f9478438f
[lyx.git] / src / frontends / WorkAreaManager.h
1 // -*- C++ -*-
2 /**
3  * \file WorkAreaManager.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Abdelrazak Younes
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef WORKAREA_MANAGER_H
13 #define WORKAREA_MANAGER_H
14
15 #include <vector>
16
17 namespace lyx {
18 namespace frontend {
19
20 class WorkArea;
21
22 class WorkAreaManager
23 {
24 public:
25         WorkAreaManager() {}
26
27         ///
28         void registerWorkArea(WorkArea * wa);
29
30         ///
31         void changed();
32
33         ///
34         void closing();
35
36 private:
37         std::vector<WorkArea *> work_areas_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // BASE_WORKAREA_H