]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrc.h
Minor code shuffle.
[lyx.git] / src / lyxrc.h
index 96bee36ee45e801a99f1abffa8b4d6fa149a836e..e5f6dc8d6f7d7e15ca7008f55bf55629a823c0d8 100644 (file)
@@ -5,7 +5,7 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
@@ -74,11 +74,6 @@ enum LyXRCTags {
        RC_KBMAP,
        RC_KBMAP_PRIMARY,
        RC_KBMAP_SECONDARY,
-#if 0
-       RC_FAX_COMMAND,
-       RC_PHONEBOOK,
-       RC_FAXPROGRAM,
-#endif
        RC_ASCIIROFF_COMMAND,
        RC_ASCII_LINELEN,
        RC_NUMLASTFILES,
@@ -110,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,
@@ -118,6 +116,10 @@ enum LyXRCTags {
        RC_FORMAT,
        RC_NEW_ASK_FILENAME,
        RC_DEFAULT_LANGUAGE,
+       RC_LABEL_INIT_LENGTH,
+#ifdef USE_PSPELL      
+       RC_USE_PSPELL,
+#endif
        RC_LAST
 };
 
@@ -129,17 +131,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;
        ///
@@ -261,19 +261,14 @@ enum LyXRCTags {
        string font_norm_menu;
        ///
        unsigned int autosave;
-#if 0
-       ///
-       string fax_command;
-       ///
-       string phone_book;
-       ///
-       string fax_program;
-#endif
        ///
        string ascii_roff_command;
        ///
        unsigned int ascii_linelen;
        /// Ispell command
+#ifdef USE_PSPELL      
+       bool use_pspell;
+#endif
        string isp_command;
        /// Accept compound words in spellchecker?
        bool isp_accept_compound;
@@ -316,6 +311,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;
@@ -331,6 +332,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);
 };
 
 ///