]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/LyXScreenFactory.C
Wrap most of the frontend code up inside namespace lyx::frontend.
[lyx.git] / src / frontends / gtk / LyXScreenFactory.C
1 /**
2  * \file gtk/LyXScreenFactory.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Huang Ying
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include <gtkmm.h>
14 #include "frontends/LyXScreenFactory.h"
15
16 #include "GWorkArea.h"
17 #include "GScreen.h"
18
19
20 namespace LyXScreenFactory {
21
22
23 LyXScreen * create(WorkArea & owner)
24 {
25         using lyx::frontend::GScreen;
26         using lyx::frontend::GWorkArea;
27
28         return new GScreen(static_cast<GWorkArea &>(owner));
29 }
30
31
32 }