Remove empty MIDI regions which result from recordings made when no MIDI data is...
[ardour.git] / libs / ardour / ardour / tempo.h
index ba7bbbcf7e60c17ec5ed3ec3fe3aafda33ef3ed9..21a1185725860fadab9f230e072d8ca31cc1719c 100644 (file)
@@ -86,7 +86,7 @@ class MetricSection {
        virtual ~MetricSection() {}
 
        const BBT_Time& start() const { return _start; }
-       nframes64_t       frame() const { return _frame; }
+       nframes64_t     frame() const { return _frame; }
 
        void set_movable (bool yn) { _movable = yn; }
        bool movable() const { return _movable; }
@@ -105,9 +105,11 @@ class MetricSection {
        */
        virtual XMLNode& get_state() const = 0;
 
+       int compare (MetricSection *, bool) const;
+
   private:
        BBT_Time       _start;
-       nframes64_t      _frame;
+       nframes64_t    _frame;
        bool           _movable;
 };
 
@@ -258,8 +260,6 @@ class TempoMap : public PBD::StatefulDestructible
 
        nframes_t frame_rate () const { return _frame_rate; }
 
-       boost::signals2::signal<void(ARDOUR::Change)> StateChanged;
-
   private:
        static Tempo    _default_tempo;
        static Meter    _default_meter;