Tweak group tabs class hierarchy and offer the same menu in both editor and mixer...
[ardour.git] / gtk2_ardour / editor_group_tabs.h
index 4dc447da1796f7621d49f323db8fd6cc0051f593..6d2b5417476a6c64eff4c750392513e41b67ecdb 100644 (file)
@@ -22,7 +22,7 @@
 
 class Editor;
 
-class EditorGroupTabs : public GroupTabs
+class EditorGroupTabs : public GroupTabs, public EditorComponent
 {
 public:
        EditorGroupTabs (Editor *);
@@ -35,6 +35,9 @@ private:
        double extent () const {
                return _height;
        }
-       Gtk::Menu* get_menu (ARDOUR::RouteGroup* g);
-       ARDOUR::RouteGroup* new_route_group () const;
+       void add_menu_items (Gtk::Menu *, ARDOUR::RouteGroup *);
+       PBD::PropertyList default_properties () const;
+       std::string order_key () const;
+       ARDOUR::RouteList selected_routes () const;
+       void sync_order_keys ();
 };