Fix the horrible mess that was anything related to sources and paths.
[ardour.git] / libs / ardour / ardour / session_region.h
index 66868f6d181e2cfac606ea0466d00fb095da385c..254bbfe1a37f71f5aa3345c850108ee3d2d383fb 100644 (file)
 
 namespace ARDOUR {
 
-template<class T> void Session::foreach_audio_region (T *obj, void (T::*func)(boost::shared_ptr<AudioRegion>))
+template<class T> void Session::foreach_region (T *obj, void (T::*func)(boost::shared_ptr<Region>))
 {
        Glib::Mutex::Lock lm (region_lock);
-       for (AudioRegionList::iterator i = audio_regions.begin(); i != audio_regions.end(); i++) {
+       for (RegionList::iterator i = regions.begin(); i != regions.end(); i++) {
                (obj->*func) (i->second);
        }
 }
 
-}
+} // namespace ARDOUR
 
 #endif /* __ardour_session_region_h__ */