#include "db.h"
#include "state.pb.h"
+#include <memory>
#include <mutex>
#include <QLabel>
#include <QMainWindow>
public:
MainWindow();
+ ~MainWindow();
// HTTP callback. TODO: Does perhaps not belong to MainWindow?
std::pair<std::string, std::string> get_queue_status() const;
private:
QLabel *disk_free_label;
- Player *preview_player, *live_player;
+ std::unique_ptr<Player> preview_player, live_player;
DB db;
// State when doing a scrub operation on a timestamp with the mouse.
void report_disk_space(off_t free_bytes, double estimated_seconds_left);
void exit_triggered();
+ void manual_triggered();
+ void about_triggered();
void highlight_camera_input(int stream_idx);