]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
fix "make dist" target
[lyx.git] / src / LaTeXFeatures.h
index f8cc2e63aec019b3ac1f1e7473d1e1e6557de43c..e4b263e004cd8432f72c1c69e53b8e6e1b9a6207 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,18 +34,20 @@ 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() const;
        /// The macros definitions needed by the document
-       string getMacros();
+       string const getMacros() const;
        /// The definitions needed by the document's textclass
-       string getTClassPreamble();
+       string const getTClassPreamble() const;
        ///
-       string getIncludedFiles();
+       string const getIncludedFiles(string const & fname) const;
+       ///
+       void getFloatDefinitions(std::ostream & os) const;
 
        ///
-       void showStruct();
+       void showStruct() const;
 
        /// Provide a string name-space to the requirements
        void require(string const & name);
@@ -70,7 +72,7 @@ struct LaTeXFeatures {
        ///
        bool longtable; // longtable.sty
        ///
-       bool algorithm; // algorithm.sty
+       //bool algorithm; // algorithm.sty
        ///
        bool rotating;  // rotating.sty
        ///
@@ -134,9 +136,9 @@ struct LaTeXFeatures {
        ///
        LanguageList UsedLanguages;
        ///
-       typedef std::set<string> FloatList;
+       typedef std::set<string> UsedFloats;
        ///
-       FloatList usedFloats;
+       UsedFloats usedFloats;
        ///
        typedef std::map<string , string> FileMap;
        ///