X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ffile_log.h;h=53fbe4f765308a391a0cf1c591b323c960f255b8;hp=64999200072895dd2436ba2d94ab64f4d196cefa;hb=f515b8daea9d28200be803bb64ff17e9f30343c4;hpb=aeb835a18c8df347e0ed68fb24631b320abeb611 diff --git a/src/lib/file_log.h b/src/lib/file_log.h index 649992000..53fbe4f76 100644 --- a/src/lib/file_log.h +++ b/src/lib/file_log.h @@ -1,19 +1,20 @@ /* Copyright (C) 2012 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + DCP-o-matic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with DCP-o-matic. If not, see . */ @@ -22,12 +23,13 @@ class FileLog : public Log { public: - FileLog (boost::filesystem::path file); + explicit FileLog (boost::filesystem::path file); std::string head_and_tail (int amount = 1024) const; private: void do_log (boost::shared_ptr entry); + /** filename to write to */ boost::filesystem::path _file; };