/* This file is part of * ====================================================== * * LyX, The Document Processor * * Copyright 2001 The LyX Team. * * ====================================================== * * \file ControlVCLog.C * \author John Levon, moz@compsoc.man.ac.uk * \author Angus Leeming */ #ifdef __GNUG__ #pragma implementation #endif #include #include "ControlVCLog.h" #include "buffer.h" #include "LyXView.h" #include "Dialogs.h" #include "lyxrc.h" using SigC::slot; ControlVCLog::ControlVCLog(LyXView & lv, Dialogs & d) : ControlDialog(lv, d) { d_.showVCLogFile.connect(slot(this, &ControlVCLog::show)); } void ControlVCLog::setParams() { logfile_ = lv_.view()->buffer()->lyxvc.getLogFile(); } void ControlVCLog::clearParams() { logfile_.erase(); }