]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
* make it compile
[lyx.git] / src / LyXRC.h
index 5e962a7fc11e4509b1b62c3d6e93ee45bf11f8c9..877c3d9f0b35ba345f9723b8583d60dfcb9bd7bf 100644 (file)
@@ -29,10 +29,10 @@ namespace lyx {
 
 namespace support { class FileName; }
 
-class LyXLex;
+class Lexer;
 
 /// This contains the runtime configuration of LyX
-class LyXRC //: public noncopyable 
+class LyXRC //: public noncopyable
 // after 1.1.6 I will use a LyXRCStruct here and then this can be made
 // noncopyable again.  For now I want to minimise changes.  ARRae 20001010
 {
@@ -58,6 +58,7 @@ public:
                RC_CUSTOM_EXPORT_COMMAND,
                RC_CUSTOM_EXPORT_FORMAT,
                RC_DATE_INSERT_FORMAT,
+               RC_DEFFILE,
                RC_DEFAULT_LANGUAGE,
                RC_DEFAULT_PAPERSIZE,
                RC_DIALOGS_ICONIFY_WITH_MAIN,
@@ -155,14 +156,15 @@ public:
        int read(std::istream &);
 private:
        ///
-       int read(LyXLex &);
+       int read(Lexer &);
 public:
        ///
        void write(support::FileName const & filename,
                   bool ignore_system_lyxrc) const;
-       ///
+       /// write rc. If a specific tag is given, only output that one.
        void write(std::ostream & os,
-                  bool ignore_system_lyxrc) const;
+                  bool ignore_system_lyxrc, 
+                  std::string const & tag = std::string()) const;
        ///
        void print() const;
        // FIXME unused (was used for xforms. Do we still need this?)
@@ -170,6 +172,8 @@ public:
        ///
        std::string bind_file;
        ///
+       std::string def_file;
+       ///
        std::string ui_file;
        ///
        std::string printer;