]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlLog.C
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlLog.C
index 13f71f2dfc560acaa9564ba8f5c9d857b6f8f955..83adb29e6a1d23281db5b0a33ab060da7ed239f3 100644 (file)
@@ -1,36 +1,28 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file ControlLog.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author John Levon
+ * \author Angus Leeming
  *
- *           Copyright 2001 The LyX Team.
- *
- * ======================================================
- *
- * \file ControlLog.h
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming <leeming@lyx.org>
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "ControlLog.h"
-#include "buffer.h"
-
 
 
-ControlLog::ControlLog(LyXView & lv, Dialogs & d)
-       : ControlDialogBD(lv, d)
+ControlLog::ControlLog(Dialog & parent)
+       : Dialog::Controller(parent)
 {}
 
 
-void ControlLog::setParams()
+bool ControlLog::initialiseParams(string const &)
 {
-       logfile_ = buffer()->getLogName();
+       logfile_ = kernel().buffer()->getLogName();
+       return true;
 }