]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
simplification
[lyx.git] / src / BufferParams.h
index bf3968ecb08aa8df15fa261ce99c045d2510fd0e..c24017483dc9ee40afc649728bbec7b786dc5f76 100644 (file)
 #ifndef BUFFERPARAMS_H
 #define BUFFERPARAMS_H
 
+#include "Font.h"
 #include "BiblioInfo.h"
-#include "TextClass.h"
 #include "paper.h"
+#include "TextClassPtr.h"
 
 #include "insets/InsetQuotes.h"
 
@@ -33,13 +34,14 @@ class AuthorList;
 class BranchList;
 class Bullet;
 class Encoding;
+class Language;
 class Lexer;
 class LatexFeatures;
+class PDFOptions;
 class Spacing;
+class TextClass;
 class TexRow;
 class VSpace;
-class Language;
-class PDFOptions;
 
 /** Buffer parameters.
  *  This class contains all the parameters for this buffer's use. Some
@@ -106,7 +108,7 @@ public:
        ///by modules.
        TextClass const & getTextClass() const;
        ///Returns a pointer to the TextClass currently in use: the BaseClass 
-       ///as modified by modules. (See \file TextClass.h for the typedef.)
+       ///as modified by modules. (See \file TextClassPtr.h for the typedef.)
        TextClassPtr getTextClassPtr() const;
        ///Set the LyX TextClass---layout file---this document is using.
        ///This does NOT call makeTextClass() and so should be used with
@@ -221,7 +223,7 @@ public:
        /// parameters for the listings package
        std::string listings_params;
        ///
-       TextClass::PageSides sides;
+       PageSides sides;
        ///
        std::string pagestyle;
        /// \param index should lie in the range 0 <= \c index <= 3.