]> git.lyx.org Git - lyx.git/blob - src/frontends/GUIRunTime.h
text2 chane, XFormsView
[lyx.git] / src / frontends / GUIRunTime.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2000-2001 The LyX Team.
8  *
9  * ====================================================== */
10
11 #ifndef GUIRUNTIME_H
12 #define GUIRUNTIME_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 class LyXView;
19
20 /** The LyX GUI independent guiruntime class
21     The GUI interface is implemented in the corresponding
22     frontends GUIRunTime.C file.
23 */
24 class GUIRunTime {
25 public:
26         /// initialise the toolkit 
27         static
28         int initApplication(int argc, char * argv[]);
29         /// process pending events
30         static
31         void processEvents();
32         /// enter the permanent event loop until "finished" becomes false
33         static
34         void runTime();
35         /// This is run first in the LyXGUI constructor.
36         static
37         void setDefaults();
38         ///
39         static
40         LyXView * createMainView(int w, int h);
41 };
42 #endif