drastic rethink of the relationship between remote control ID and route order keys...
[ardour.git] / libs / ardour / ardour / playlist.h
index 59b7ae406c1cdb2337fec0f2f389d6eda9f84eaf..a64ebdd727c5602420a6c828811fe6fe0b10e89c 100644 (file)
@@ -31,9 +31,6 @@
 #include <sys/stat.h>
 
 #include <glib.h>
-#ifdef HAVE_GLIB_THREADS_RECMUTEX
-#include <glibmm/threads.h>
-#endif
 
 #include "pbd/undo.h"
 #include "pbd/stateful.h"
@@ -121,6 +118,7 @@ public:
        bool hidden() const { return _hidden; }
        bool empty() const;
        uint32_t n_regions() const;
+       bool all_regions_empty() const;
        std::pair<framepos_t, framepos_t> get_extent () const;
        layer_t top_layer() const;
 
@@ -225,6 +223,8 @@ public:
        uint32_t combine_ops() const { return _combine_ops; }
 
        void set_layer (boost::shared_ptr<Region>, double);
+
+       void set_capture_insertion_in_progress (bool yn);
        
   protected:
        friend class Session;
@@ -289,6 +289,7 @@ public:
        bool             in_flush;
        bool             in_partition;
        bool            _frozen;
+       bool            _capture_insertion_underway;
        uint32_t         subcnt;
        PBD::ID         _orig_track_id;
        uint32_t        _combine_ops;