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. */
26 extern LString system_lyxdir;
27 extern LString user_lyxdir;
28 extern LString system_tempdir;
30 extern LastFiles *lastfiles; /* we should hopefully be able to move this
31 * inside the LyX class */
37 This is the main LyX object it encapsulates most of the other objects.
42 /**@name Constructors and Deconstructors */
44 /// the only allowed constructor
45 LyX(int *argc, char *argv[]); // constructor
46 // Always is useful a destructor
50 /**@name Pointers to... */
53 LyXGUI *lyxGUI; // should be only one of this
56 /**@name Constructors and Deconstructors */
59 LyX(const LyX &){;} // not allowed
61 LyX(){;} // not allowed
64 /**@name Private variables */
66 /// does this user start lyx for the first time?
69 struct sigaction act_;
71 /**@name Private Members */
76 void init(int *argc, char *argv[]);
78 void queryUserLyXDir();
80 void ReadRcFile(LString const & name);
82 bool easyParse(int *argc, char *argv[]);