X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=6a5ded826013d56f8d8e089c9d7f26403c9c4280;hb=fba1c434e5166d0bd44fc7b981a141ab94553d5d;hp=b42d622fb38a39eb7366e6bc64230fd954a840fc;hpb=e302757476e46910347ee94cf3141f615ea53ffd;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index b42d622fb3..6a5ded8260 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -15,10 +15,8 @@ #ifndef BUFFERPARAMS_H #define BUFFERPARAMS_H -#include "Author.h" #include "Citation.h" #include "DocumentClassPtr.h" -#include "Format.h" #include "LayoutModuleList.h" #include "OutputParams.h" #include "paper.h" @@ -34,11 +32,14 @@ namespace lyx { namespace support { class FileName; } +class Author; +class AuthorList; class BranchList; class Bullet; class DocumentClass; class Encoding; class Font; +class Format; class IndicesList; class Language; class LayoutFile; @@ -446,7 +447,7 @@ public: /// the author list for the document AuthorList & authors(); AuthorList const & authors() const; - void addAuthor(Author a); + void addAuthor(Author const & a); /// map of the file's author IDs to AuthorList indexes typedef std::map AuthorMap; @@ -513,7 +514,7 @@ public: /// Get the default BibTeX style file from the TextClass std::string const & defaultBiblioStyle() const; /// whether the BibTeX style supports full author lists - bool const & fullAuthorList() const; + bool fullAuthorList() const; /// Check if a citation style is an alias to another style std::string getCiteAlias(std::string const & s) const;