f72c0a52d8ad3b3f904b7508df8de6ae58af615d
[ardour.git] / libs / ardour / ardour / region_factory.h
1 #ifndef __ardour_region_factory_h__
2 #define __ardour_region_factory_h__
3
4 #include <ardour/types.h>
5 #include <ardour/region.h>
6
7 class XMLNode;
8
9 namespace ARDOUR {
10
11 class Session;
12
13 Region* createRegion (const Region&, jack_nframes_t start, 
14                       jack_nframes_t length, std::string name, 
15                       layer_t = 0, Region::Flag flags = Region::DefaultFlags);
16 // Region* createRegion (const Region&, std::string name);
17 Region* createRegion (const Region&);
18 Region* createRegion (Session&, XMLNode&, bool);
19
20 }
21
22 #endif /* __ardour_region_factory_h__  */