X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAuthor.h;h=798cfd80433499f236c2462645ab42e33cbc705e;hb=a4d9315bc49445e4419b3b59fd238a13c5f7be31;hp=6915318531802f2eea40536bc50ac0227ef984d9;hpb=86bd1cd641daade1524a6edf7b3f733117e8afc7;p=lyx.git diff --git a/src/Author.h b/src/Author.h index 6915318531..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,10 @@ public: /// docstring email() const { return email_; } /// + docstring initials() const { return initials_; } + /// + docstring nameAndEmail() const; + /// int bufferId() const { return buffer_id_; } /// void setBufferId(int buffer_id) const { buffer_id_ = buffer_id; } @@ -51,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