diff options
author | David Robillard <d@drobilla.net> | 2009-02-16 18:08:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-16 18:08:22 +0000 |
commit | 900309993c485527145be4265247bd521073ee61 (patch) | |
tree | 29360e453ffe3f7b4c099a199cb2d5d587d14580 /libs/ardour/ardour/smf_source.h | |
parent | 80e3845982659b796315a501268478c63ae2f21a (diff) |
Move duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
Clean up source stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@4605 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/smf_source.h')
-rw-r--r-- | libs/ardour/ardour/smf_source.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index 6cbb449633..4855cb6e31 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -36,18 +36,8 @@ template<typename T> class MidiRingBuffer; /** Standard Midi File (Type 0) Source */ class SMFSource : public MidiSource, public Evoral::SMF { public: - enum Flag { - Writable = 0x1, - CanRename = 0x2, - Broadcast = 0x4, - Removable = 0x8, - RemovableIfEmpty = 0x10, - RemoveAtDestroy = 0x20, - BuildPeaks = 0x40 - }; - /** Constructor for existing external-to-session files */ - SMFSource (Session& session, std::string path, Flag flags = Flag(0)); + SMFSource (Session& session, std::string path, Source::Flag flags = Source::Flag(0)); /* Constructor for existing in-session files */ SMFSource (Session& session, const XMLNode&); @@ -107,7 +97,6 @@ class SMFSource : public MidiSource, public Evoral::SMF { void set_default_controls_interpolation(); Glib::ustring _path; - Flag _flags; string _take_id; bool _allow_remove_if_empty; double _last_ev_time_beats; |