]> git.lyx.org Git - lyx.git/blobdiff - src/author.h
Point fix, earlier forgotten
[lyx.git] / src / author.h
index 2764923d1347bbf5febb9e8aed6b407db307d5d7..b06b9611e9b66f1bdc5b69853d93d9ad14647eac 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /**
  * \file author.h
  * This file is part of LyX, the document processor.
@@ -5,7 +6,7 @@
  *
  * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef AUTHOR_H
@@ -20,8 +21,8 @@ class Author {
 public:
        Author() {}
 
-       Author(string n, string e)
-               : name_(n), email_(e) {}
+       Author(string const & name, string const & email)
+               : name_(name), email_(email) {}
 
        string const name() const {
                return name_;
@@ -42,6 +43,8 @@ private:
 
 class AuthorList {
 public:
+       AuthorList();
+
        int record(Author const & a);
 
        void record(int id, Author const & a);
@@ -55,6 +58,8 @@ public:
        Authors::const_iterator end() const;
 
 private:
+       int last_id_;
+
        Authors authors_;
 };