/* This file is part of * ====================================================== * * LyX, The Document Processor * * Copyright 2001 The LyX Team. * * ====================================================== * * \file ControlError.C * \author Angus Leeming */ #ifdef __GNUG__ #pragma implementation #endif #include #include "ViewBase.h" #include "ButtonControllerBase.h" #include "ControlError.h" #include "ControlInset.tmpl" #include "Dialogs.h" #include "LyXView.h" #include "buffer.h" #include "insets/inseterror.h" ControlError::ControlError(LyXView & lv, Dialogs & d) : ControlInset(lv, d) { d_.showError.connect(SigC::slot(this, &ControlError::showInset)); } string const ControlError::getParams(InsetError const & inset) { return inset.getContents(); }