X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=mainwindow.h;h=ef0b04ffec04b06d25d7b9cbfec5136eec4bc191;hb=d7bba4abb3d56893399578f0540b9ded0a28380f;hp=b0e26897b2dbbf937828d785a21d57370a84f982;hpb=4159eda78000e5ce498cd6ce31da5e750c2c0a42;p=nageru diff --git a/mainwindow.h b/mainwindow.h index b0e2689..ef0b04f 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -2,13 +2,16 @@ #define MAINWINDOW_H #include -#include #include +#include + +class QResizeEvent; namespace Ui { class MainWindow; } // namespace Ui +class Mixer; class QPushButton; class MainWindow : public QMainWindow @@ -17,7 +20,8 @@ class MainWindow : public QMainWindow public: MainWindow(); - void resizeEvent(QResizeEvent* event) override; + void resizeEvent(QResizeEvent *event) override; + void mixer_created(Mixer *mixer); public slots: void transition_clicked(int transition_number); @@ -30,4 +34,6 @@ private: QPushButton *transition_btn1, *transition_btn2, *transition_btn3; }; +extern MainWindow *global_mainwindow; + #endif