30 #include <ytkmm/box.h>
31 #include <ytkmm/button.h>
32 #include <ytkmm/entry.h>
33 #include <ytkmm/filechooserdialog.h>
34 #include <ytkmm/frame.h>
35 #include <ytkmm/scrolledwindow.h>
36 #include <ytkmm/treemodel.h>
37 #include <ytkmm/treestore.h>
38 #include <ytkmm/treeview.h>
44 class ElementImportHandler;
45 class ElementImporter;
52 typedef std::shared_ptr<ARDOUR::ElementImportHandler>
HandlerPtr;
55 typedef std::shared_ptr<ARDOUR::ElementImporter>
ElementPtr;
61 virtual Gtk::FileChooserAction
browse_action()
const {
return Gtk::FILE_CHOOSER_ACTION_OPEN; }
71 void show_info(
const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* column);
89 Gtk::TreeModelColumn<std::string>
name;
92 Gtk::TreeModelColumn<std::string>
info;
Gtk::Button * cancel_button
Gtk::ScrolledWindow session_scroll
std::list< HandlerPtr > HandlerList
Glib::RefPtr< Gtk::TreeStore > session_tree
bool open_prompt_dialog(std::string text)
void load_session(const std::string &filename)
virtual Gtk::FileChooserAction browse_action() const
void update(std::string path)
SessionBrowserColumns sb_cols
void show_info(const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *column)
std::list< ElementPtr > ElementList
PBD::ScopedConnectionList connections
std::shared_ptr< ARDOUR::ElementImportHandler > HandlerPtr
Gtk::Button file_browse_button
std::shared_ptr< ARDOUR::ElementImporter > ElementPtr
SessionImportDialog(ARDOUR::Session *target)
std::pair< bool, std::string > open_rename_dialog(std::string text, std::string name)
Gtk::TreeView session_browser
PBD::PropertyDescriptor< std::string > name
Gtk::TreeModelColumn< bool > queued
Gtk::TreeModelColumn< ElementPtr > element
Gtk::TreeModelColumn< std::string > info
Gtk::TreeModelColumn< std::string > name