Remove C++11'ism
[ardour.git] / libs / ardour / ardour / region_factory.h
index a9b73dc46260c27d1c47daa531a27a1b27a26f03..c661fed019ee8a9451f4310b438bdb9ff6fd919b 100644 (file)
@@ -59,7 +59,10 @@ public:
        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, bool announce = false);
+       static boost::shared_ptr<Region> create (boost::shared_ptr<const Region> other, bool announce = false, bool fork = false);
+       static boost::shared_ptr<Region> create (boost::shared_ptr<Region> other, bool announce, bool fork) {
+               return create (boost::shared_ptr<const Region>(other), announce, fork);
+       }
 
        /** create a region from a single Source */
        static boost::shared_ptr<Region> create (boost::shared_ptr<Source>,
@@ -72,7 +75,7 @@ public:
        static boost::shared_ptr<Region> create (boost::shared_ptr<Region> other,
                                                 const PBD::PropertyList&, bool announce = true);
        /** create a copy of @param other starting at @param offset within @param other */
-       static boost::shared_ptr<Region> create (boost::shared_ptr<Region> other, frameoffset_t offset,
+       static boost::shared_ptr<Region> create (boost::shared_ptr<Region> other, ARDOUR::MusicSample offset,
                                                 const PBD::PropertyList&, bool announce = true);
        /** create a "copy" of @param other but using a different set of sources @param srcs */
        static boost::shared_ptr<Region> create (boost::shared_ptr<Region> other, const SourceList& srcs,
@@ -117,7 +120,7 @@ public:
         * announce=false but they still need to be in the map soon after
         * creation.
         */
-        
+
        static void map_add (boost::shared_ptr<Region>);
 
   private: