X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxrc.h;h=5b0882b51e18d26016ce673d7c6889bdca03ba6a;hb=c90c5e6386ce69c34c99b3594d6fa452e6a13161;hp=5e547d2d5b18476db800d1258e5195a3835ce475;hpb=235f7c1d2a47b9fedd113d18909af0374c34ff41;p=lyx.git diff --git a/src/lyxrc.h b/src/lyxrc.h index 5e547d2d5b..5b0882b51e 100644 --- a/src/lyxrc.h +++ b/src/lyxrc.h @@ -74,9 +74,6 @@ enum LyXRCTags { RC_KBMAP, RC_KBMAP_PRIMARY, RC_KBMAP_SECONDARY, - RC_FAX_COMMAND, - RC_PHONEBOOK, - RC_FAXPROGRAM, RC_ASCIIROFF_COMMAND, RC_ASCII_LINELEN, RC_NUMLASTFILES, @@ -108,6 +105,9 @@ enum LyXRCTags { RC_LANGUAGE_AUTO_END, RC_LANGUAGE_COMMAND_BEGIN, RC_LANGUAGE_COMMAND_END, + RC_LANGUAGE_COMMAND_LOCAL, + RC_LANGUAGE_GLOBAL_OPTIONS, + RC_LANGUAGE_USE_BABEL, RC_DATE_INSERT_FORMAT, RC_SHOW_BANNER, RC_WHEEL_JUMP, @@ -116,6 +116,7 @@ enum LyXRCTags { RC_FORMAT, RC_NEW_ASK_FILENAME, RC_DEFAULT_LANGUAGE, + RC_LABEL_INIT_LENGTH, RC_LAST }; @@ -127,17 +128,15 @@ enum LyXRCTags { /// int read (string const & filename); /// + void readBindFileIfNeeded(); + /// void write(string const & filename) const; /// void print() const; /// void output(std::ostream & os) const; - /// Is a bind file already (or currently) read? - bool hasBindFile; - /// - int ReadBindFile(string const & name = "cua"); /// - static string getFeedback( LyXRCTags ); + static string const getDescription(LyXRCTags); /// string bind_file; /// @@ -260,12 +259,6 @@ enum LyXRCTags { /// unsigned int autosave; /// - string fax_command; - /// - string phone_book; - /// - string fax_program; - /// string ascii_roff_command; /// unsigned int ascii_linelen; @@ -312,6 +305,12 @@ enum LyXRCTags { /// string language_command_end; /// + string language_command_local; + /// + bool language_global_options; + /// + bool language_use_babel; + /// bool rtl_support; /// bool auto_number; @@ -327,6 +326,13 @@ enum LyXRCTags { string default_language; /// bool cursor_follows_scrollbar; + /// + int label_init_length; +private: + /// Is a bind file already (or currently) read? + bool hasBindFile; + /// + int ReadBindFile(string const & name); }; ///