]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.h
Point fix, earlier forgotten
[lyx.git] / src / LaTeXFeatures.h
index 616e3702a8c5af1c13bacee41582d7bcb3740f5a..1622f0373f30da8f852ef6919c2aeba8037ea231 100644 (file)
@@ -1,27 +1,22 @@
 // -*- C++ -*-
-/* This file is part of
-* ======================================================
-*
-*           LyX, The Document Processor
-*
-*           Copyright 1995 Matthias Ettrich
-*           Copyright 1995-2001 the LyX Team.
-*
-* ====================================================== */
+/**
+ * \file LaTeXFeatures.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
 
 #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,21 +70,22 @@ 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);
        ///
        BufferParams const & bufferParams() const;
-       ///
+       /// the return value is dependent upon both LyXRC and LaTeXFeatures.
+       bool useBabel() const;
 
 private:
        string externalPreambles;
 
-       std::set<string> layout;
+       std::list<string> usedLayouts;
 
        /// Static preamble bits from the external material insets