X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAuthor.h;h=798cfd80433499f236c2462645ab42e33cbc705e;hb=9b18a9b609c0af78b4bb08667fd8e02ebd897d5e;hp=108a701e825300144ede07a05a032d6e36040e8e;hpb=4154e088b0578dd516d6ae951195b354f8f5bf72;p=lyx.git diff --git a/src/Author.h b/src/Author.h index 108a701e82..798cfd8043 100644 --- a/src/Author.h +++ b/src/Author.h @@ -22,9 +22,10 @@ namespace lyx { class Author { public: /// - Author() : used_(false), buffer_id_(0) {}; + Author() : used_(false), buffer_id_(0) {} /// - Author(docstring const & name, docstring const & email); + Author(docstring const & name, docstring const & email, + docstring const & initials); /// For when the \author line is missing (#9854) Author(int buffer_id); /// @@ -32,6 +33,8 @@ public: /// docstring email() const { return email_; } /// + docstring initials() const { return initials_; } + /// docstring nameAndEmail() const; /// int bufferId() const { return buffer_id_; } @@ -53,6 +56,8 @@ private: docstring name_; /// The author's email address docstring email_; + /// The author's initials + docstring initials_; /// mutable bool used_; /// The id of the author in the lyx-file