]> 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 484bcb0d5d481f9ac2ddd73bff36a350e951d840..a994cda497e269b792be84c6eb8aa1ba7ffde8a0 100644 (file)
@@ -1,7 +1,8 @@
 // -*- C++ -*-
 /**
  * \file ControlVCLog.h
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
  * \author John Levon
  * \author Angus Leeming
 #ifndef CONTROLVCLOG_H
 #define CONTROLVCLOG_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "Dialog.h"
 
-#include "ControlDialog_impl.h"
-#include "Lsstream.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