summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/region_factory.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-03-06 15:40:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-03-06 15:40:42 +0000
commitb6b68881b2c59c216d2195b1cea5e667187d83ed (patch)
tree6f6cae22e8d2175bbc54d428472402cd2d73eb2c /libs/ardour/ardour/region_factory.h
parent4ffcec7b7974f9fb65b2da295cbadb219f2a1970 (diff)
remove the session region list; GUI now represents (a relatively unfiltered view of) the raw region list that always contains every single region ever created
git-svn-id: svn://localhost/ardour2/branches/3.0@6739 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/region_factory.h')
-rw-r--r--libs/ardour/ardour/region_factory.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/ardour/ardour/region_factory.h b/libs/ardour/ardour/region_factory.h
index a01103603a..2bff4dd104 100644
--- a/libs/ardour/ardour/region_factory.h
+++ b/libs/ardour/ardour/region_factory.h
@@ -24,6 +24,7 @@
#include <glibmm/thread.h>
#include "pbd/id.h"
+#include "pbd/signals.h"
#include "ardour/types.h"
#include "ardour/region.h"
@@ -77,11 +78,17 @@ class RegionFactory {
/** create a region with specified sources @param srcs and XML state */
static boost::shared_ptr<Region> create (SourceList& srcs, const XMLNode&);
+ static void map_remove (boost::shared_ptr<Region>);
+ static void delete_all_regions ();
+ static const RegionMap& regions() { return region_map; }
+ static uint32_t nregions ();
+
private:
static Glib::StaticMutex region_map_lock;
static RegionMap region_map;
static void map_add (boost::shared_ptr<Region>);
- static void map_remove (boost::shared_ptr<Region>);
+
+ static PBD::ScopedConnectionList region_list_connections;
};
}