]> 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 40fee20f9b724479665d8e6eb3864021f38bb50c..83adb29e6a1d23281db5b0a33ab060da7ed239f3 100644 (file)
@@ -1,39 +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 <a.leeming@ic.ac.uk>
+ * Full author contact details are available in file CREDITS
  */
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include <config.h>
+
 #include "ControlLog.h"
-#include "LyXView.h"
-#include "Dialogs.h"
-#include "lyxrc.h"
 
-using SigC::slot;
 
-ControlLog::ControlLog(LyXView & lv, Dialogs & d)
-       : ControlDialog<ControlConnectBD>(lv, d)
-{
-       d_.showLogFile.connect(slot(this, &ControlLog::show));
-}
+ControlLog::ControlLog(Dialog & parent)
+       : Dialog::Controller(parent)
+{}
 
 
-void ControlLog::setParams()
+bool ControlLog::initialiseParams(string const &)
 {
-       logfile_ = lv_.view()->buffer()->getLogName();
+       logfile_ = kernel().buffer()->getLogName();
+       return true;
 }