Stub implementation of LV2 persist extension.
[ardour.git] / libs / ardour / ardour / region_factory.h
index 459699d810c8959014eb34ecc523300eebc56012..f9ed868f4fc043156310136793cb86bfdc6de100 100644 (file)
@@ -42,7 +42,9 @@ class RegionFactory {
   public:
         typedef std::map<PBD::ID,boost::shared_ptr<Region> > RegionMap;
 
+        static boost::shared_ptr<Region> wholefile_region_by_name (const std::string& name);
        static boost::shared_ptr<Region> region_by_id (const PBD::ID&);
+       static boost::shared_ptr<Region> region_by_name (const std::string& name);
         static const RegionMap all_regions() { return region_map; }
        static void clear_map ();
 
@@ -56,7 +58,7 @@ class RegionFactory {
        static PBD::Signal1<void,boost::shared_ptr<Region> >  CheckNewRegion;
 
        /** create a "pure copy" of Region @param other */
-       static boost::shared_ptr<Region> create (boost::shared_ptr<const Region> other);
+       static boost::shared_ptr<Region> create (boost::shared_ptr<const Region> other, bool announce = false);
 
        /** create a region from a single Source */
        static boost::shared_ptr<Region> create (boost::shared_ptr<Source>,