]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Alfredo's second patch
[lyx.git] / src / LaTeXFeatures.h
index 616e3702a8c5af1c13bacee41582d7bcb3740f5a..b95c8e411520158ffd85511f29445e9c858a5c2f 100644 (file)
 #ifndef LATEXFEATURES_H
 #define LATEXFEATURES_H
 
-
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "support/types.h"
 
 #include "LString.h"
 
-#include <vector>
 #include <set>
 #include <list>
 #include <map>
@@ -75,11 +69,11 @@ public:
        ///
        void useLanguage(Language const *);
        ///
-       bool hasLanguages();
+       bool hasLanguages() const;
        ///
        string getLanguages() const;
        ///
-       std::set<string> getEncodingSet(string const & doc_encoding);
+       std::set<string> getEncodingSet(string const & doc_encoding) const;
        ///
        void useLayout(string const & lyt);
        ///
@@ -89,7 +83,7 @@ public:
 private:
        string externalPreambles;
 
-       std::set<string> layout;
+       std::list<string> usedLayouts;
 
        /// Static preamble bits from the external material insets