diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-23 13:23:47 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-23 17:58:40 +0200 |
commit | e1f168de110322e7024dfa334b97f3b433907ae1 (patch) | |
tree | bd700545929b7aa5ec95c69b88a5a4e983845547 /gtk2_ardour/marker.h | |
parent | 2cc64168d379790eb3d162cd59b7f1a8effb4156 (diff) |
rename Marker class
Classes are in the global namespace.
OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
Diffstat (limited to 'gtk2_ardour/marker.h')
-rw-r--r-- | gtk2_ardour/marker.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index daa44bf0fa..b769f8d110 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -38,7 +38,7 @@ namespace ARDOUR { class PublicEditor; -class Marker : public sigc::trackable +class ArdourMarker : public sigc::trackable { public: enum Type { @@ -56,12 +56,12 @@ class Marker : public sigc::trackable }; - Marker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, Type, + ArdourMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, Type, framepos_t frame = 0, bool handle_events = true); - virtual ~Marker (); + virtual ~ArdourMarker (); - static PBD::Signal1<void,Marker*> CatchDeletion; + static PBD::Signal1<void,ArdourMarker*> CatchDeletion; static void setup_sizes (const double timebar_height); @@ -129,11 +129,11 @@ class Marker : public sigc::trackable private: /* disallow copy construction */ - Marker (Marker const &); - Marker & operator= (Marker const &); + ArdourMarker (ArdourMarker const &); + ArdourMarker & operator= (ArdourMarker const &); }; -class TempoMarker : public Marker +class TempoMarker : public ArdourMarker { public: TempoMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, ARDOUR::TempoSection&); @@ -145,7 +145,7 @@ class TempoMarker : public Marker ARDOUR::TempoSection& _tempo; }; -class MeterMarker : public Marker +class MeterMarker : public ArdourMarker { public: MeterMarker (PublicEditor& editor, ArdourCanvas::Container &, guint32 rgba, const std::string& text, ARDOUR::MeterSection&); |