2001-03-20 10:14:03 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 2001 The LyX Team.
|
|
|
|
*
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* \file ControlVCLog.h
|
|
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
|
|
|
* \author Angus Leeming <a.leeming@ic.ac.uk>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONTROLVCLOG_H
|
|
|
|
#define CONTROLVCLOG_H
|
|
|
|
|
|
|
|
#include <utility>
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-22 11:24:36 +00:00
|
|
|
#include "ControlDialogs.h"
|
2001-03-20 10:14:03 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* A controller for the Version Control log viewer.
|
|
|
|
*/
|
2001-03-22 11:24:36 +00:00
|
|
|
class ControlVCLog : public ControlDialog<ControlConnectBD> {
|
2001-03-20 10:14:03 +00:00
|
|
|
public:
|
|
|
|
///
|
|
|
|
ControlVCLog(LyXView &, Dialogs &);
|
|
|
|
///
|
|
|
|
string const & logfile() { return logfile_; }
|
|
|
|
|
2001-03-23 17:09:34 +00:00
|
|
|
private:
|
2001-03-20 10:14:03 +00:00
|
|
|
///
|
|
|
|
virtual void apply() {}
|
2001-03-22 11:24:36 +00:00
|
|
|
/// set the params before show or update
|
|
|
|
virtual void setParams();
|
|
|
|
/// clean-up on hide.
|
|
|
|
virtual void clearParams();
|
2001-03-20 10:14:03 +00:00
|
|
|
|
|
|
|
string logfile_;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CONTROLVCLOG_H
|