]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclasslist.h
oops again! hopefully this works now. Time to go to bed
[lyx.git] / src / lyxtextclasslist.h
index a5aa7cedb98ffd7b768aeb8691a40afbf13d936a..3309e541b296266930478db1626b4d85aa8051f8 100644 (file)
 #ifndef LYXTEXTCLASSLIST_H
 #define LYXTEXTCLASSLIST_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "support/types.h"
 
 #include <boost/utility.hpp>
@@ -38,9 +34,9 @@ public:
        ///
        typedef ClassList::const_iterator const_iterator;
        ///
-       const_iterator begin() const { return classlist.begin(); }
+       const_iterator begin() const { return classlist_.begin(); }
        ///
-       const_iterator end() const { return classlist.end(); }
+       const_iterator end() const { return classlist_.end(); }
 
        /// Gets textclass number from name, -1 if textclass name does not exist
        std::pair<bool, lyx::textclass_type> const
@@ -53,9 +49,7 @@ public:
        bool Read();
 private:
        ///
-       mutable ClassList classlist;
-       ///
-       void Add(LyXTextClass const &);
+       mutable ClassList classlist_;
 };
 
 ///