X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=futatabi%2Fmainwindow.h;h=a0c938d03574c06aa29f855759645135f827109f;hb=5198acefd13b91a7953f1db1370ce7d434132472;hp=4e3800ef083ae6df812719735f9a219ddcac9fdb;hpb=44606be7327eb9160b9de6c7be5c5006a3d5670e;p=nageru diff --git a/futatabi/mainwindow.h b/futatabi/mainwindow.h index 4e3800e..a0c938d 100644 --- a/futatabi/mainwindow.h +++ b/futatabi/mainwindow.h @@ -5,6 +5,7 @@ #include "db.h" #include "state.pb.h" +#include #include #include #include @@ -24,6 +25,7 @@ class MainWindow : public QMainWindow { public: MainWindow(); + ~MainWindow(); // HTTP callback. TODO: Does perhaps not belong to MainWindow? std::pair get_queue_status() const; @@ -33,7 +35,7 @@ public: private: QLabel *disk_free_label; - Player *preview_player, *live_player; + std::unique_ptr preview_player, live_player; DB db; // State when doing a scrub operation on a timestamp with the mouse. @@ -100,6 +102,7 @@ private: void report_disk_space(off_t free_bytes, double estimated_seconds_left); void exit_triggered(); + void export_cliplist_clip_multitrack_triggered(); void manual_triggered(); void about_triggered();