]> git.lyx.org Git - lyx.git/blobdiff - src/lastfiles.h
Angus insetindex patch + protect patch from Dekel
[lyx.git] / src / lastfiles.h
index 9faf6b88a56feac8b1a75121e17e38bcfe963993..cb7c49cc2986c36f53c0ae5dd1e10e113f56225e 100644 (file)
@@ -1,11 +1,11 @@
 // -*- C++ -*-
 /* This file is part of
- * ======================================================
+ * ====================================================== 
  * 
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 The LyX Team.
+ *           Copyright 1995-2000 The LyX Team.
  *
  * ====================================================== */
 
 #endif
 
 #include <deque>
-using std::deque;
 
 #include "LString.h"
 
-
 /** The latest documents loaded
     This class takes care of the last .lyx files used by the LyX user. It
     both reads and writes this information to a file. The number of files
     kept are user defined, but defaults to four.
 */
-class LastFiles 
-{
+class LastFiles {
 public:
        ///
-       typedef deque<string> Files;
+       typedef std::deque<string> Files;
 
+       ///
+       typedef Files::const_iterator const_iterator;
+       
        /**@name Constructors and Deconstructors */
        //@{
        /**
           Parameters are: name of file to read. Whether LastFiles should
           check for file existance, and the number of files to remember.
        */
-       LastFiles(string const &, bool dostat = true, unsigned int num = 4);
+       explicit LastFiles(string const &,
+                          bool dostat = true, unsigned int num = 4);
        //@}
        
        /**@name Methods */