- ///
- void queryUserLyXDir(bool explicit_userdir);
- /** Search for and read the LyXRC file name, return
- true if successfull.
- */
- bool readRcFile(string const & name);
- /// Read the ui file `name'
- void readUIFile(string const & name);
- /// Read the languages file `name'
- void readLanguagesFile(string const & name);
- /// Read the encodings file `name'
- void readEncodingsFile(string const & name);
- ///
+ /** Check for the existence of the user's support directory and,
+ * if not present, create it. Exits the program if the directory
+ * cannot be created.
+ * \returns true if the user-side configuration script
+ * (lib/configure) should be re-run in this directory.
+ */
+ bool queryUserLyXDir(bool explicit_userdir);
+ /// read lyxrc/preferences
+ void readRcFile(std::string const & name);
+ /// read the given ui (menu/toolbar) file
+ void readUIFile(std::string const & name);
+ /// read the given languages file
+ void readLanguagesFile(std::string const & name);
+ /// read the given encodings file
+ void readEncodingsFile(std::string const & name);
+ /// parsing of non-gui LyX options. Returns true if gui