]> git.lyx.org Git - lyx.git/blobdiff - src/Author.h
Reintroduce some class definitions.
[lyx.git] / src / Author.h
index afc39576918b19212754dfe4d10c896527dced99..d62fcb007019d22c3199597abac6d8419686e93e 100644 (file)
@@ -30,7 +30,7 @@ public:
        ///
        docstring email() const { return email_; }
        ///
-       int buffer_id() const { return buffer_id_; }
+       int bufferId() const { return buffer_id_; }
        ///
        void setBufferId(int buffer_id) const { buffer_id_ = buffer_id; }
        ///
@@ -39,6 +39,8 @@ public:
        bool used() const { return used_; }
        ///
        friend std::istream & operator>>(std::istream & os, Author & a);
+       ///
+       friend std::ostream & operator<<(std::ostream & os, Author const & a);
 
 private:
        /// The author's name
@@ -65,10 +67,10 @@ public:
        ///
        Author const & get(int id) const;
        ///
-       typedef std::vector<Author> Authors;
-       ///
        void sort();
        ///
+       typedef std::vector<Author> Authors;
+       ///
        Authors::const_iterator begin() const;
        ///
        Authors::const_iterator end() const;