Move maxlastfiles from Session.h to LyXRC.h

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26493 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-09-22 07:42:57 +00:00
parent da1de0055e
commit 8c4ffb42da
2 changed files with 3 additions and 3 deletions

View File

@ -470,6 +470,9 @@ extern LyXRC lyxrc;
/// ///
extern LyXRC system_lyxrc; extern LyXRC system_lyxrc;
// used by at least frontends/qt4/GuiPref.cpp
const long maxlastfiles = 20;
} // namespace lyx } // namespace lyx
#endif #endif

View File

@ -21,9 +21,6 @@
#include <vector> #include <vector>
#include <map> #include <map>
// used by at least frontends/qt4/GuiPref.cpp
const long maxlastfiles = 20;
/** This session file maintains /** This session file maintains
1. the latest documents loaded (lastfiles) 1. the latest documents loaded (lastfiles)
2. cursor positions of files closed (lastfilepos) 2. cursor positions of files closed (lastfilepos)