]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.h
Fix text frame drawing.
[lyx.git] / src / insets / ExternalTemplate.h
index 45f1b348ff66f8307acbdd83a497247de8876d42..cb3f8f93b3595aeb7bbd6f8f136259c9a9a44128 100644 (file)
@@ -19,7 +19,9 @@
 
 namespace lyx {
 
-class LyXLex;
+namespace support { class FileName; }
+
+class Lexer;
 
 namespace external {
 
@@ -28,7 +30,7 @@ public:
        /// We have to have default commands for safety reasons!
        Template();
        ///
-       void readTemplate(LyXLex &);
+       void readTemplate(Lexer &);
        ///
        void dumpFormats(std::ostream &) const;
 
@@ -62,7 +64,7 @@ public:
        public:
                Format();
                ///
-               void readFormat(LyXLex &);
+               void readFormat(Lexer &);
 
                /// The text that should be inserted into the exported file
                std::string product;
@@ -117,7 +119,7 @@ public:
        std::string const getPreambleDefByName(std::string const & name) const;
 private:
        TemplateManager();
-       void readTemplates(std::string const & path);
+       void readTemplates(support::FileName const & path);
        void dumpTemplates(std::ostream &) const;
        void dumpPreambleDefs(std::ostream &) const;