]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
get rid of LYX_LIBS
[lyx.git] / src / LaTeXFeatures.h
index c9b628dacd0a2eb963d4256ef1aab91a3a58c602..f70d8286ea0919c2622f37e5a799db17d8cf7ff9 100644 (file)
 #pragma interface
 #endif
 
+#include "support/types.h"
+
+#include "LString.h"
+
 #include <vector>
 #include <set>
 #include <list>
-
-#include "LString.h"
-#include "layout.h"
+#include <map>
 
 class BufferParams; 
 struct Language;
@@ -41,10 +43,9 @@ struct Language;
     when you do so.
 */
 class LaTeXFeatures {
-
 public:
        ///
-       LaTeXFeatures(BufferParams const &, lyx::layout_type n) ;
+       LaTeXFeatures(BufferParams const &);
        /// The packages needed by the document
        string const getPackages() const;
        /// The macros definitions needed by the document
@@ -78,8 +79,7 @@ public:
        ///
        std::set<string> getEncodingSet(string const & doc_encoding);
        ///
-       ///
-       void useLayout(std::vector<bool>::size_type const & idx);
+       void useLayout(string const & lyt);
        ///
        BufferParams const & bufferParams() const;
        ///
@@ -87,7 +87,7 @@ public:
 private:
        string externalPreambles;
 
-       std::vector<bool> layout;
+       std::set<string> layout;
 
        /// Static preamble bits from the external material insets