]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
adjust
[lyx.git] / src / LyXRC.h
index 5e962a7fc11e4509b1b62c3d6e93ee45bf11f8c9..01fb3692ea3c12703d9382de2dcf43ea0008f59d 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
 {
@@ -155,14 +155,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?)