]> git.lyx.org Git - lyx.git/blobdiff - src/lyxrc.h
citation patch from Angus
[lyx.git] / src / lyxrc.h
index 3cf27a92435d4f315ba88e831665038e022b6e97..77a292e95365f2292561c1845ebd55ccacd2d2d8 100644 (file)
 #pragma interface
 #endif
 
-#include "ToolbarDefaults.h"
 #include "bufferparams.h"
+#include "support/utility.hpp"
 
 /// This contains the runtime configuration of LyX
-class LyXRC {
+class LyXRC : public noncopyable {
 public:
+       ///
        LyXRC();
        ///
        void setDefaults();
@@ -38,10 +39,10 @@ public:
        ///
        int ReadBindFile(string const & name = "cua");
        ///
-       ToolbarDefaults toolbardefaults;
-       ///
        string bind_file;
        ///
+       string ui_file;
+       ///
        string printer;
        ///
        string print_command;
@@ -93,10 +94,13 @@ public:
        string dvi_to_ps_command;
         /// program for performing literate programming
         string literate_command;
+       ///
         string literate_extension;
+       ///
         string literate_error_filter;
         /// program for compiling
         string build_command;
+       ///
         string build_error_filter;
        /// program for running relyx
        string relyx_command;
@@ -164,11 +168,16 @@ public:
        string popup_font_name;
        ///
        string font_norm;
+       ///
        enum FontEncoding {
+               ///
                ISO_10646_1,
+               ///
                ISO_8859_6_8,
+               ///
                OTHER_ENCODING
        };
+       ///
        FontEncoding font_norm_type;
        ///
        void set_font_norm_type();
@@ -250,8 +259,12 @@ public:
        string docbook_to_html_command;
        ///
        string docbook_to_pdf_command;
+       ///
+       bool new_ask_filename;
 };
 
+///
 extern LyXRC lyxrc;
-
+///
+//extern LyXRC system_lyxrc;
 #endif