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