1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ======================================================
10 * \file ControlError.C
11 * \author Angus Leeming <a.leeming@ic.ac.uk>
15 #pragma implementation
21 #include "ButtonControllerBase.h"
22 #include "ControlError.h"
26 #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));
36 string const ControlError::getParams(InsetError const & inset)
38 return inset.getContents();