2 * \file ControlListings.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "ControlListings.h"
14 #include "FuncRequest.h"
15 #include "insets/InsetListings.h"
24 ControlListings::ControlListings(Dialog & parent)
25 : Dialog::Controller(parent), params_()
29 bool ControlListings::initialiseParams(string const & data)
31 InsetListingsMailer::string2params(data, params_);
36 void ControlListings::clearParams()
42 void ControlListings::dispatchParams()
44 string const lfun = InsetListingsMailer::params2string(params());
45 kernel().dispatch(FuncRequest(getLfun(), lfun));
49 void ControlListings::setParams(InsetListingsParams const & params)
55 } // namespace frontend