#ifndef DB_H
#define DB_H 1
+#include "frame_on_disk.h"
#include "state.pb.h"
#include <sqlite3.h>
#include <string>
#include <vector>
-#include "frame_on_disk.h"
-
class DB {
public:
explicit DB(const std::string &filename);
StateProto get_state();
void store_state(const StateProto &state);
+ SettingsProto get_settings();
+ void store_settings(const SettingsProto &settings);
+
struct FrameOnDiskAndStreamIdx {
FrameOnDisk frame;
unsigned stream_idx;