*
* Full author contact details are available in file CREDITS.
*
- * A store of the paths to the various different directoies used
+ * A store of the paths to the various different directories used
* by LyX. These paths differ markedly from one OS to another,
* following the local Windows, MacOS X or Posix conventions.
*/
class Package {
public:
/// Default constructor does not lead to the paths being set.
- Package() {}
+ Package() : explicit_user_support_dir_(false), in_build_dir_(false) {}
/** Called by init_package, above.
* All paths will be initialized.
*/
static FileName const & get_home_dir();
- /** Command to run the configure script.
- * Caution: This is "ready-to-run", i.e. in the locale encoding, not
- * utf8.
- */
- std::string const & configure_command() const;
+ /// Run configure.py
+ int reconfigureUserLyXDir(std::string const & option) const;
+
+ ///
+ std::string getConfigureLockName() const;
private:
FileName binary_dir_;
mutable FileName document_dir_;
mutable FileName temp_dir_;
FileName system_temp_dir_;
+ /** Command to run the configure script.
+ * Caution: This is "ready-to-run", i.e. in the locale encoding, not
+ * utf8.
+ */
mutable std::string configure_command_;
bool explicit_user_support_dir_;
bool in_build_dir_;