X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=futatabi%2Fmainwindow.h;h=e21b3f38c181ef994f5120cffe4fd12b83a75812;hb=eaba7288c4fb39ca195c9355970293bcaf088dbc;hp=7f8c57ac805a79928573a01e76e17e5916ab8d39;hpb=eeda8995329601f9f4e35047358400833eeae68e;p=nageru diff --git a/futatabi/mainwindow.h b/futatabi/mainwindow.h index 7f8c57a..e21b3f3 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,10 @@ private: void report_disk_space(off_t free_bytes, double estimated_seconds_left); void exit_triggered(); + void export_cliplist_clip_multitrack_triggered(); + void export_playlist_clip_interpolated_triggered(); + void manual_triggered(); + void about_triggered(); void highlight_camera_input(int stream_idx);