add VU and IEC meter DSP (from jmeters)
[ardour.git] / gtk2_ardour / global_port_matrix.h
index 0ce77f74c3d9e35a2ca97bf14ef89e4447171324..d45a6390938c067f6d10bb10640b62da3c3b50a1 100644 (file)
@@ -23,7 +23,7 @@
 #include <gtkmm/button.h>
 #include "port_matrix.h"
 #include "port_group.h"
-#include "ardour_dialog.h"
+#include "ardour_window.h"
 
 class GlobalPortMatrix : public PortMatrix
 {
@@ -31,6 +31,7 @@ public:
        GlobalPortMatrix (Gtk::Window*, ARDOUR::Session*, ARDOUR::DataType);
 
        void setup_ports (int);
+       void set_session (ARDOUR::Session* s);
 
        void set_state (ARDOUR::BundleChannel c[2], bool);
        PortMatrixNode::State get_state (ARDOUR::BundleChannel c[2]) const;
@@ -50,12 +51,13 @@ private:
        };
 };
 
-
-class GlobalPortMatrixWindow : public Gtk::Window
+class GlobalPortMatrixWindow : public ArdourWindow
 {
 public:
        GlobalPortMatrixWindow (ARDOUR::Session *, ARDOUR::DataType);
 
+       void set_session (ARDOUR::Session *);
+
 private:
        void on_show ();