]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
fix typo that put too many include paths for most people
[lyx.git] / src / LaTeXFeatures.h
index 6b884de02de58739cdac9b60d563a046f494c4ad..92279ebfc0963767bb2896f86c5407151c5e11aa 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
-* ====================================================== 
-* 
+* ======================================================
+*
 *           LyX, The Document Processor
-*        
+*
 *           Copyright 1995 Matthias Ettrich
 *           Copyright 1995-2001 the LyX Team.
 *
@@ -26,7 +26,7 @@
 #include <list>
 #include <map>
 
-class BufferParams; 
+class BufferParams;
 struct Language;
 
 /** The packages and commands that a buffer needs. This class
@@ -35,17 +35,17 @@ struct Language;
 
     i.e require("amssymb")
 
-    To add support you should only need to require() the package name as 
+    To add support you should only need to require() the package name as
     packages which don't have special requirements are handled automatically.
     If your new package does need special consideration you'll need to alter
     string const getPackages() const;
-    Remember to update the validate function in buffer.C and paragraph.C 
+    Remember to update the validate function in buffer.C and paragraph.C
     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
@@ -62,7 +62,7 @@ public:
        void getFloatDefinitions(std::ostream & os) const;
        /// Print requirements to lyxerr
        void showStruct() const;
-       /// 
+       ///
        void addExternalPreamble(string const &);
        /// Provide a string name-space to the requirements
        void require(string const & name);
@@ -79,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;
        ///
@@ -88,7 +87,7 @@ public:
 private:
        string externalPreambles;
 
-       std::vector<bool> layout;
+       std::set<string> layout;
 
        /// Static preamble bits from the external material insets