diff options
Diffstat (limited to 'gtk2_ardour/automation_selectable.h')
-rw-r--r-- | gtk2_ardour/automation_selectable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_selectable.h b/gtk2_ardour/automation_selectable.h index 5b7f4d5705..2ce8f29a70 100644 --- a/gtk2_ardour/automation_selectable.h +++ b/gtk2_ardour/automation_selectable.h @@ -16,6 +16,14 @@ struct AutomationSelectable : public Selectable AutomationSelectable (nframes_t s, nframes_t e, double l, double h, TimeAxisView& atv) : start (s), end (e), low_fract (l), high_fract (h), track (atv) {} + + bool operator== (const AutomationSelectable& other) { + return start == other.start && + end == other.end && + low_fract == other.low_fract && + high_fract == other.high_fract && + &track == &other.track; + } }; #endif /* __ardour_gtk_automation_selectable_h__ */ |