diff options
author | Carl Hetherington <carl@carlh.net> | 2010-09-06 12:34:11 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-09-06 12:34:11 +0000 |
commit | ea2648503b520e3da54263ce0bafb388d22a9cd8 (patch) | |
tree | 3c3142d6ae31e256945b4254c5cac494c332661d /libs/ardour/ardour/track.h | |
parent | 1206b2973dc6c55bf81b4adfed928b95ac94bb9c (diff) |
Cleanup of region drag code to be a bit more efficient and shorter. Fixes crashes when dragging regions to the wrong track type.
git-svn-id: svn://localhost/ardour2/branches/3.0@7744 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/track.h')
-rw-r--r-- | libs/ardour/ardour/track.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/track.h b/libs/ardour/ardour/track.h index e40f197436..dfdc409659 100644 --- a/libs/ardour/ardour/track.h +++ b/libs/ardour/ardour/track.h @@ -60,6 +60,8 @@ class Track : public Route, public PublicDiskstream bool needs_butler() const { return _needs_butler; } void toggle_monitor_input (); + virtual DataType data_type () const = 0; + bool can_record(); virtual void use_new_diskstream () = 0; |