try to sensibly handle repeated imports of the same file. the same thing might be...
[ardour.git] / libs / ardour / ardour / region_factory.h
index e99b9c80dfd780e4be140be61559878809822b42..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 ();