X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gtk2_ardour%2Fplaylist_selector.h;h=c792179776156e640e9d4ddadac49d823e3f92ec;hb=c912bd61ae49cc79158f3322439c29b27ef51de8;hp=071f82c616b1906564f2e688f72314c218fc2d60;hpb=af12adb34f62dc82f694a03ea3b2a6c99ba426ef;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;