--- gigedit/trunk/src/gigedit/mainwindow.h 2015/01/04 19:46:54 2691 +++ gigedit/trunk/src/gigedit/mainwindow.h 2015/01/20 18:48:15 2715 @@ -233,6 +233,8 @@ void on_sel_change(); void region_changed(); void dimreg_changed(); + void select_instrument(gig::Instrument* instrument); + bool select_dimension_region(gig::DimensionRegion* dimRgn); void select_sample(gig::Sample* sample); void on_loader_progress(); void on_loader_finished(); @@ -365,6 +367,7 @@ void on_action_sample_properties(); void on_action_add_group(); void on_action_add_sample(); + void on_action_replace_sample(); void on_action_replace_all_samples_in_all_groups(); void on_action_remove_sample(); @@ -409,6 +412,13 @@ bool check_if_savable(); void on_button_release(GdkEventButton* button); + void on_instruments_treeview_drag_begin(const Glib::RefPtr& context); + void on_instruments_treeview_drag_data_get(const Glib::RefPtr&, + Gtk::SelectionData& selection_data, guint, guint); + void on_instruments_treeview_drop_drag_data_received( + const Glib::RefPtr& context, int, int, + const Gtk::SelectionData& selection_data, guint, guint time + ); void on_scripts_treeview_drag_begin(const Glib::RefPtr& context); void on_scripts_treeview_drag_data_get(const Glib::RefPtr&, Gtk::SelectionData& selection_data, guint, guint); @@ -439,6 +449,8 @@ void on_sample_ref_count_incremented(gig::Sample* sample, int offset); void on_samples_to_be_removed(std::list samples); + void add_or_replace_sample(bool replace); + void __import_queued_samples(); void __clear(); void __refreshEntireGUI();