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

@@ -33,11 +33,9 @@ class FoldableToolPanel;
class ToolPanelListener
{
public:
virtual ~ToolPanelListener() {}
virtual void panelChanged (rtengine::ProcEvent event, const Glib::ustring& descr) {}
virtual ~ToolPanelListener() = default;
virtual void panelChanged(const rtengine::ProcEvent& event, const Glib::ustring& descr) = 0;
};
/// @brief This class control the space around the group of tools inside a tab, as well as the space separating each tool. */