// -*- 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