diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index df12b5f611..a98df48a23 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -491,6 +491,9 @@ public: GdkEvent const* ev, Temporal::RoundMode direction = Temporal::RoundNearest, ARDOUR::SnapPref gpref = ARDOUR::SnapToAny_Visual); + Temporal::timepos_t snap_to_bbt (Temporal::timepos_t const & start, + Temporal::RoundMode direction, + ARDOUR::SnapPref gpref); void set_snapped_cursor_position (Temporal::timepos_t const & pos); @@ -2269,10 +2272,6 @@ private: Temporal::RoundMode direction, ARDOUR::SnapPref gpref); - Temporal::timepos_t snap_to_bbt (Temporal::timepos_t const & start, - Temporal::RoundMode direction, - ARDOUR::SnapPref gpref); - Temporal::timepos_t snap_to_timecode (Temporal::timepos_t const & start, Temporal::RoundMode direction, ARDOUR::SnapPref gpref); diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index bc48c75f28..ce0e81a650 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -510,6 +510,7 @@ public: GdkEvent const* ev, Temporal::RoundMode direction = Temporal::RoundNearest, ARDOUR::SnapPref gpref = ARDOUR::SnapToAny_Visual) = 0; + virtual Temporal::timepos_t snap_to_bbt (Temporal::timepos_t const & pos, Temporal::RoundMode, ARDOUR::SnapPref) = 0; virtual void set_snapped_cursor_position (Temporal::timepos_t const & pos) = 0;