]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_main.h
zlib stuff
[lyx.git] / src / lyx_main.h
index e8769300feb4e646446f24e53e71938c9186ff7c..21e7b7d6f692d1076b5a8e5fc47619c97fceeded 100644 (file)
 #define LYX_MAIN_H
 
 #include "LString.h"
+#include "errorlist.h"
 
 #include <boost/scoped_ptr.hpp>
 #include <boost/utility.hpp>
 
 #include <csignal>
 
+
 class LyXRC;
 class LastFiles;
 class Buffer;
 class kb_keymap;
 
 
-/// e.g. $HOME/.lyx/
-extern string user_lyxdir;
-/// e.g. /usr/share/lyx/
-extern string system_lyxdir;
-/// e.g. /tmp
-extern string system_tempdir;
 /// last files loaded
 extern boost::scoped_ptr<LastFiles> lastfiles;
 
@@ -60,6 +56,8 @@ private:
        void readEncodingsFile(string const & name);
        /// parsing of non-gui LyX options. Returns true if gui
        bool easyParse(int & argc, char * argv[]);
+       /// shows up a parsing error on screen
+       void printError(ErrorItem const &);
 
        /// has this user started lyx for the first time?
        bool first_start;