X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flastfiles.h;h=9a5c5ad4f9b81d98020a65a267535deaa2097a16;hb=98c966c64594611e469313314abd1e59524adb4a;hp=a5816204ca68440ba42140fd4a73b0b36971fae3;hpb=da003742d9fbc051024e89241d5796e6403aded9;p=lyx.git diff --git a/src/lastfiles.h b/src/lastfiles.h index a5816204ca..9a5c5ad4f9 100644 --- a/src/lastfiles.h +++ b/src/lastfiles.h @@ -1,11 +1,11 @@ // -*- 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. * * ====================================================== */ @@ -27,14 +27,14 @@ kept are user defined, but defaults to four. @author Lars Gullik Bjønnes */ -class LastFiles : public noncopyable { +class LastFiles : boost::noncopyable { public: /// typedef std::deque Files; /// 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 +43,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 +84,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 +103,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