change package names for i18n files, in an attempt to fix #4085
[ardour.git] / gtk2_ardour / processor_box.h
index 5d80e8a360b056fcb37459c7c7c4a24dfb434723..a17903c323d65268f8f5ae8afa0a7ebc673c0c87 100644 (file)
@@ -194,6 +194,16 @@ private:
 class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARDOUR::SessionHandlePtr
 {
   public:
+       enum ProcessorOperation {
+               ProcessorsCut,
+               ProcessorsCopy,
+               ProcessorsPaste,
+               ProcessorsDelete,
+               ProcessorsSelectAll,
+               ProcessorsToggleActive,
+               ProcessorsAB,
+       };
+
        ProcessorBox (ARDOUR::Session*, boost::function<PluginSelector*()> get_plugin_selector,
                      RouteRedirectSelection&, MixerStrip* parent, bool owner_is_mixer = false);
        ~ProcessorBox ();
@@ -203,6 +213,8 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
 
        void update();
 
+       void processor_operation (ProcessorOperation);
+
        void select_all_processors ();
        void deselect_all_processors ();
        void select_all_plugins ();
@@ -245,8 +257,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
 
        void route_going_away ();
 
-       void selection_changed ();
-
        Gtkmm2ext::DnDVBox<ProcessorEntry> processor_display;
        Gtk::ScrolledWindow    processor_scroller;
 
@@ -279,8 +289,6 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
 
        bool enter_notify (GdkEventCrossing *ev);
        bool leave_notify (GdkEventCrossing *ev);
-       bool processor_key_press_event (GdkEventKey *);
-       bool processor_key_release_event (GdkEventKey *);
        bool processor_button_press_event (GdkEventButton *, ProcessorEntry *);
        bool processor_button_release_event (GdkEventButton *, ProcessorEntry *);
        void redisplay_processors ();
@@ -300,11 +308,8 @@ class ProcessorBox : public Gtk::HBox, public PluginInterestedObject, public ARD
        typedef std::vector<boost::shared_ptr<ARDOUR::Processor> > ProcSelection;
 
        void cut_processors (const ProcSelection&);
-       void cut_processors ();
        void copy_processors (const ProcSelection&);
-       void copy_processors ();
        void delete_processors (const ProcSelection&);
-       void delete_processors ();
        void paste_processors ();
        void paste_processors (boost::shared_ptr<ARDOUR::Processor> before);
        void processors_up ();