monitor section: make sip/afl/pfl buttons work, add rude solo, mono function, rearrange
[ardour.git] / libs / ardour / ardour / session_playlists.h
index db29ee8c05fa281533a2007cd53f7efb354cb70e..d654595d6044d49a2d4c44dd0d197bf7024c24ef 100644 (file)
 
 class XMLNode;
 
+namespace PBD {
+        class ID;
+}
+
 namespace ARDOUR {
 
 class Playlist;
@@ -44,6 +48,7 @@ public:
        ~SessionPlaylists ();
        
        boost::shared_ptr<Playlist> by_name (std::string name);
+       boost::shared_ptr<Playlist> by_id (const PBD::ID&);
        uint32_t source_use_count (boost::shared_ptr<const Source> src) const;
        template<class T> void foreach (T *obj, void (T::*func)(boost::shared_ptr<Playlist>));
        void get (std::vector<boost::shared_ptr<Playlist> >&);