X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fplaylist_selector.h;h=c792179776156e640e9d4ddadac49d823e3f92ec;hb=fcbb78b010a53686d1c350864d731a73bd204956;hp=071f82c616b1906564f2e688f72314c218fc2d60;hpb=532f6aad4ac79ca15d69deccd18fca90e444c437;p=ardour.git diff --git a/gtk2_ardour/playlist_selector.h b/gtk2_ardour/playlist_selector.h index 071f82c616..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 @@ -28,7 +28,8 @@ #include #include -#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;