X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flastfiles.h;h=2e93d6a3122d327b42019aaeeb449d313d169463;hb=c544107e324090c6eafb4c56749da2624b9b1122;hp=31f57e73f95adde7661bdd32c70143d6b72cebbb;hpb=0b98ee5f2ec731d156b976856b0db52dc9534e59;p=lyx.git diff --git a/src/lastfiles.h b/src/lastfiles.h index 31f57e73f9..2e93d6a312 100644 --- a/src/lastfiles.h +++ b/src/lastfiles.h @@ -1,21 +1,17 @@ // -*- C++ -*- /* This file is part of - * ====================================================== - * + * ====================================================== + * * LyX, The Document Processor - * + * * Copyright 1995 Matthias Ettrich - * Copyright 1995-2000 The LyX Team. + * Copyright 1995-2001 The LyX Team. * * ====================================================== */ #ifndef LASTFILES_H #define LASTFILES_H -#ifdef __GNUG__ -#pragma interface -#endif - #include #include "LString.h" @@ -34,7 +30,7 @@ public: /// typedef Files::const_iterator const_iterator; - + /** Read the lastfiles file. @param file The file to read the lastfiles form. @param dostat Whether to check for file existance. @@ -43,7 +39,7 @@ public: explicit LastFiles(string const & file, bool dostat = true, unsigned int num = 4); - + /** Insert #file# into the list. This funtion inserts #file# into the last files list. If the file already exist it is moved to the top of the list, else exist it @@ -84,14 +80,14 @@ private: */ ABSOLUTEMAXLASTFILES = 20 }; - + /// a list of lastfiles Files files; /// number of files in the lastfiles list. unsigned int num_files; /// check for file existance or not. bool dostat; - + /** Read the lastfiles file. Reads the #.lyx_lastfiles# at the beginning of the LyX session. This will read the lastfiles file (usually #.lyx_lastfiles#). It @@ -103,6 +99,6 @@ private: /** Used by the constructor to set the number of stored last files. @param num the number of lastfiles to set. */ - void setNumberOfFiles(unsigned int num); + void setNumberOfFiles(unsigned int num); }; #endif