]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
prepare for 1.1.6pre2
[lyx.git] / src / LaTeXFeatures.h
index f8cc2e63aec019b3ac1f1e7473d1e1e6557de43c..8c3cd68b9ab81533781025c285766b17bcf7568e 100644 (file)
@@ -21,9 +21,9 @@
 #include <set>
 
 #include "LString.h"
+#include "layout.h"
 
 class BufferParams; 
-class LyXTextClass;
 struct Language;
 
 /** The packages and commands that a buffer needs. This struct
@@ -34,15 +34,15 @@ struct Language;
 */
 struct LaTeXFeatures {
        ///
-       LaTeXFeatures(BufferParams const &, int n) ;
+       LaTeXFeatures(BufferParams const &, LyXTextClass::size_type n) ;
        /// The packaes needed by the document
-       string getPackages();
+       string const getPackages();
        /// The macros definitions needed by the document
-       string getMacros();
+       string const getMacros();
        /// The definitions needed by the document's textclass
-       string getTClassPreamble();
+       string const getTClassPreamble();
        ///
-       string getIncludedFiles();
+       string const getIncludedFiles(string const fname) const;
 
        ///
        void showStruct();