]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlVCLog.h
Add a buffer_path arg to InsetGraphicsMailer's params2string, string2params.
[lyx.git] / src / frontends / controllers / ControlVCLog.h
index 9d68fc9f2208c70796e15741df1e9bc5e899f5b0..a994cda497e269b792be84c6eb8aa1ba7ffde8a0 100644 (file)
@@ -1,43 +1,36 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
- *
- *           LyX, The Document Processor
- *
- *           Copyright 2001 The LyX Team.
+/**
+ * \file ControlVCLog.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * ======================================================
+ * \author John Levon
+ * \author Angus Leeming
  *
- * \file ControlVCLog.h
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming <leeming@lyx.org>
+ * Full author contact details are available in file CREDITS
  */
 
 #ifndef CONTROLVCLOG_H
 #define CONTROLVCLOG_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "ControlDialog_impl.h"
-#include "Lsstream.h"
+#include "Dialog.h"
 
-/**
- * A controller for the Version Control log viewer.
- */
-class ControlVCLog : public ControlDialogBD {
+class ControlVCLog : public Dialog::Controller {
 public:
        ///
-       ControlVCLog(LyXView &, Dialogs &);
-       /// get a stringstream containing the log file
-       stringstream & getVCLogFile(stringstream & ss) const;
+       ControlVCLog(Dialog &);
+       /// Nothing to initialise in this case.
+       virtual bool initialiseParams(string const &) { return true; }
+       ///
+       virtual void clearParams() {}
+       ///
+       virtual void dispatchParams() {}
+       ///
+       virtual bool isBufferDependent() const { return true; }
+       /// put the log file into the ostream
+       void getVCLogFile(std::ostream & ss) const;
        /// get the filename of the buffer
        string const getBufferFileName() const;
-
-private:
-       ///
-       virtual void apply() {}
 };
 
 #endif // CONTROLVCLOG_H