]> 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 4499c6fc779868e3458f283bbf1942046f5789aa..a994cda497e269b792be84c6eb8aa1ba7ffde8a0 100644 (file)
 #ifndef CONTROLVCLOG_H
 #define CONTROLVCLOG_H
 
+#include "Dialog.h"
 
-#include "ControlDialog_impl.h"
-
-#include "LString.h"
-
-/**
- * A controller for the Version Control log viewer.
- */
-class ControlVCLog : public ControlDialogBD {
+class ControlVCLog : public Dialog::Controller {
 public:
        ///
-       ControlVCLog(LyXView &, Dialogs &);
+       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