]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Cleanup.
[lyx.git] / src / BufferParams.h
index c8fe76fe63cbb50a476b3ce848a9c38111ca1d4b..9e858275aeaadcf0e0121128f7ad2b930d9e4099 100644 (file)
@@ -32,17 +32,17 @@ class FileName;
 }
 
 class AuthorList;
-class BaseClassIndex;
 class BranchList;
 class Bullet;
 class DocumentClass;
 class Encoding;
 class Language;
-class Lexer;
 class LatexFeatures;
+class LayoutFile;
+class LayoutFileIndex;
+class Lexer;
 class PDFOptions;
 class Spacing;
-class TextClass;
 class TexRow;
 class VSpace;
 
@@ -106,12 +106,15 @@ public:
        InsetQuotes::quote_times quotes_times;
        ///
        std::string fontsize;
-       ///Get the LyX TextClass (that is, the layout file) this document is using.
-       BaseClassIndex baseClass() const;
-       /// Set the LyX TextClass (that is, the layout file) this document is using.
+       ///Get the LayoutFile this document is using.
+       LayoutFile const * baseClass() const;
+       ///
+       LayoutFileIndex const & baseClassID() const;
+       /// Set the LyX layout file this document is using.
        /// NOTE: This does not call makeDocumentClass() to update the local 
        /// DocumentClass. That needs to be done manually.
-       bool setBaseClass(BaseClassIndex);
+       /// \param filename the name of the layout file
+       bool setBaseClass(std::string const & classname);
        /// Adds the module information to the baseClass information to
        /// create our local DocumentClass.
        void makeDocumentClass();