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
20 #include "ControlError.h"
24 #include "insets/inseterror.h"
26 ControlError::ControlError(LyXView & lv, Dialogs & d)
27 : ControlInset<InsetError, string>(lv, d)
29 d_.showError.connect(SigC::slot(this, &ControlError::showInset));
32 string const ControlError::getParams(InsetError const & inset)
34 return inset.getContents();