#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "ControlError.h"
-#include "insets/inseterror.h"
-ControlError::ControlError(LyXView & lv, Dialogs & d)
- : ControlInset<InsetError, string>(lv, d)
+ControlError::ControlError(Dialog & parent)
+ : Dialog::Controller(parent)
{}
-string const ControlError::getParams(InsetError const & inset)
+void ControlError::initialiseParams(string const & data)
+{
+ params_ = data;
+}
+
+
+void ControlError::clearParams()
{
- return inset.getContents();
+ // g++ 2.95.3 doesn't like this although it should be ok
+ //params_.clear();
+ params_ = string();
}
+