]> git.lyx.org Git - lyx.git/blobdiff - src/lastfiles.h
Small fix.
[lyx.git] / src / lastfiles.h
index a7ea4410e69ec6874fe1526a11994909e079dde3..cb7c49cc2986c36f53c0ae5dd1e10e113f56225e 100644 (file)
     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 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 */