Make import GUI report if you are importing a file of a name that
[ardour.git] / libs / ardour / ardour / tempo.h
index fa1d882ab35347248db314911e69524f8a9f15e9..c4915072c57ba7349b6e00fcb10adcc57404b932 100644 (file)
@@ -203,7 +203,7 @@ class TempoMap : public PBD::StatefulDestructible
 
        BBTPointList *get_points (nframes_t start, nframes_t end) const;
 
-       void           bbt_time (nframes_t when, BBT_Time&) const;
+       void      bbt_time (nframes_t when, BBT_Time&) const;
        nframes_t frame_time (const BBT_Time&) const;
        nframes_t bbt_duration_at (nframes_t, const BBT_Time&, int dir) const;
 
@@ -279,6 +279,10 @@ class TempoMap : public PBD::StatefulDestructible
         void bbt_time_with_metric (nframes_t, BBT_Time&, const Metric&) const;
 
        void change_existing_tempo_at (nframes_t, double bpm, double note_type);
+       void change_initial_tempo (double bpm, double note_type);
+
+       int n_tempos () const;
+       int n_meters () const;
 
        sigc::signal<void,ARDOUR::Change> StateChanged;
 
@@ -286,12 +290,12 @@ class TempoMap : public PBD::StatefulDestructible
        static Tempo    _default_tempo;
        static Meter    _default_meter;
 
-       Metrics            *metrics;
-       nframes_t     _frame_rate;
-       nframes_t      last_bbt_when;
-       bool                last_bbt_valid;
-       BBT_Time            last_bbt;
-       mutable Glib::RWLock    lock;
+       Metrics*             metrics;
+       nframes_t           _frame_rate;
+       nframes_t            last_bbt_when;
+       bool                 last_bbt_valid;
+       BBT_Time             last_bbt;
+       mutable Glib::RWLock lock;
        
        void timestamp_metrics (bool use_bbt);