X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fplaylist_selector.h;h=c792179776156e640e9d4ddadac49d823e3f92ec;hb=c78528dcea03a61685ad0586eaa6302847af6fe9;hp=757e7fc52327debfd351808255fe566742baba5c;hpb=64a882d96bd3340a2baf5e7ee7af08cc4391e238;p=ardour.git diff --git a/gtk2_ardour/playlist_selector.h b/gtk2_ardour/playlist_selector.h index 757e7fc523..c792179776 100644 --- a/gtk2_ardour/playlist_selector.h +++ b/gtk2_ardour/playlist_selector.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2004 Paul Davis + Copyright (C) 2004 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ #include #include "ardour_dialog.h" +#include "ardour/session_handle.h" namespace ARDOUR { class Session; @@ -38,24 +39,22 @@ namespace ARDOUR { class RouteUI; -class PlaylistSelector : public ArdourDialog +class PlaylistSelector : public ArdourDialog { public: PlaylistSelector (); ~PlaylistSelector (); - void set_session (ARDOUR::Session*); void show_for (RouteUI*); protected: bool on_unmap_event (GdkEventAny*); private: - typedef std::map >*> DSPL_Map; + typedef std::map >*> TrackPlaylistMap; - ARDOUR::Session* session; Gtk::ScrolledWindow scroller; - DSPL_Map dspl_map; + TrackPlaylistMap trpl_map; RouteUI* rui; sigc::connection select_connection;