X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Fstripable.h;h=8ad02c98b3cb1be00bbfd5e4efd8fa94cedd9306;hb=94e0a15325278ec26dbeba4990a0e883db859338;hp=e49767f50d71aeb78f8ed620e2e218ac0aee5eef;hpb=d58cb3daa3f0e091a11e3846b28e83bcf0f93587;p=ardour.git diff --git a/libs/ardour/ardour/stripable.h b/libs/ardour/ardour/stripable.h index e49767f50d..8ad02c98b3 100644 --- a/libs/ardour/ardour/stripable.h +++ b/libs/ardour/ardour/stripable.h @@ -79,11 +79,20 @@ class LIBARDOUR_API Stripable : public SessionObject { void set_presentation_order (PresentationInfo::order_t, bool notify_class_listeners = true); void set_presentation_order_explicit (PresentationInfo::order_t); + struct PresentationOrderSorter { + bool operator() (boost::shared_ptr a, boost::shared_ptr b) { + return a->presentation_info().order() < b->presentation_info().order(); + } + }; + + /* gui's call this for their own purposes. */ + + PBD::Signal2 gui_changed; + /*************************************************************** * Pure interface begins here ***************************************************************/ - virtual boost::shared_ptr peak_meter() = 0; virtual boost::shared_ptr peak_meter() const = 0; @@ -176,13 +185,6 @@ class LIBARDOUR_API Stripable : public SessionObject { PresentationInfo _presentation_info; }; -struct PresentationInfoSorter { - bool operator() (boost::shared_ptr a, boost::shared_ptr b) { - return a->presentation_info() < b->presentation_info(); - } -}; - - } #endif /* __libardour_stripable_h__ */