2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
11 * \file ControlError.C
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
16 #pragma implementation
22 #include "ButtonControllerBase.h"
23 #include "ControlError.h"
27 #include "insets/inseterror.h"
29 ControlError::ControlError(LyXView & lv, Dialogs & d)
30 : ControlInset<InsetError, string>(lv, d)
32 d_.showError.connect(SigC::slot(this, &ControlError::showInset));
35 string const ControlError::getParams(InsetError const & inset)
37 return inset.getContents();