2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 1996 Matthias Ettrich
10 *======================================================*/
12 /* This is the declaration of the LyX class, there should only
13 * exist _one_ instance of this in the application. */
28 extern string system_lyxdir;
29 extern string user_lyxdir;
30 extern string system_tempdir;
32 extern LastFiles *lastfiles; /* we should hopefully be able to move this
33 * inside the LyX class */
39 This is the main LyX object it encapsulates most of the other objects.
44 /**@name Constructors and Deconstructors */
46 /// the only allowed constructor
47 LyX(int *argc, char *argv[]); // constructor
48 // Always is useful a destructor
52 /**@name Pointers to... */
55 LyXGUI *lyxGUI; // should be only one of this
58 /**@name Constructors and Deconstructors */
61 LyX(const LyX &){;} // not allowed
63 LyX(){;} // not allowed
66 /**@name Private variables */
68 /// does this user start lyx for the first time?
71 struct sigaction act_;
73 /**@name Private Members */
78 void init(int *argc, char *argv[]);
80 void queryUserLyXDir();
82 void ReadRcFile(string const & name);
84 bool easyParse(int *argc, char *argv[]);