]> git.lyx.org Git - lyx.git/blob - src/frontends/lyx_gui.h
2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
[lyx.git] / src / frontends / lyx_gui.h
1 // -*- C++ -*-
2 /**
3  * \file lyx_gui.h
4  * Copyright 2002 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon <moz@compsoc.man.ac.uk>
8  */
9
10 #ifndef LYX_GUI_H
11 #define LYX_GUI_H
12
13 #include <config.h>
14
15 #include "LString.h"
16
17 #include <vector>
18
19 class Dialogs;
20
21 /// GUI interaction
22 namespace lyx_gui {
23
24         /// parse command line and do basic initialisation
25         void parse_init(int & argc, char * argv[]);
26
27         /**
28          * set up GUI parameters. At this point lyxrc may
29          * be used.
30          */
31         void parse_lyxrc();
32
33         /**
34          * Start the main event loop, after executing the given
35          * batch commands, and loading the given documents
36          */
37         void start(string const & batch, std::vector<std::string> files);
38
39         /// initialise graphics
40         void init_graphics();
41 }
42
43 #endif // LYX_GUI_H