Turn almost all Listeners into abstract interfaces

This commit is contained in:
Flössie
2018-10-09 20:32:40 +02:00
parent 2a9d3896bb
commit 2125f42116
159 changed files with 1385 additions and 939 deletions

View File

@@ -30,10 +30,9 @@
class ICMPanelListener
{
public:
virtual ~ICMPanelListener() {}
virtual void saveInputICCReference(Glib::ustring fname, bool apply_wb) {}
virtual ~ICMPanelListener() = default;
virtual void saveInputICCReference(const Glib::ustring& fname, bool apply_wb) = 0;
};
class ICMPanel :
@@ -127,6 +126,7 @@ public:
void setBatchMode(bool batchMode);
void setDefaults(const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = nullptr);
void adjusterChanged(Adjuster* a, double newval);
void adjusterAutoToggled(Adjuster* a, bool newval);
void wpChanged();
void wtrcinChanged();