[EMAIL PROTECTED] writes: | Author: younes | Date: Sun May 27 13:55:46 2007 | New Revision: 18533 | | URL: http://www.lyx.org/trac/changeset/18533 | Log: | * InsetListingsParams.cpp: Code reorganization. Should fix bug 3639 and open the way to more advanced gui controls. | | Modified: | lyx-devel/trunk/src/insets/InsetListingsParams.cpp | | Modified: lyx-devel/trunk/src/insets/InsetListingsParams.cpp | URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/insets/InsetListingsParams.cpp?rev=18533 | ============================================================================== | --- lyx-devel/trunk/src/insets/InsetListingsParams.cpp (original) | +++ lyx-devel/trunk/src/insets/InsetListingsParams.cpp Sun May 27 13:55:46 2007 | @@ -55,11 +55,20 @@ | | /** Information about each parameter | */ | -struct listings_param_info { | - /// name of the parameter | - string name; | +class ListingsParam { | +public: | + /// | + ListingsParam(): onoff_(false), type_(ALL) {} | + /// | + ListingsParam(string v, bool o, param_type t, string i, docstring h) | + : value_(v), onoff_(o), type_(t), info_(i), hint_(h)
const ref strings please. -- Lgb