10 #include "frame_on_disk.h"
14 explicit DB(const std::string &filename);
15 DB(const DB &) = delete;
17 StateProto get_state();
18 void store_state(const StateProto &state);
20 struct FrameOnDiskAndStreamIdx {
24 std::vector<FrameOnDiskAndStreamIdx> load_frame_file(const std::string &filename, size_t size, unsigned frame_idx); // Empty = none found, or there were no frames.
25 void store_frame_file(const std::string &filename, size_t size, const std::vector<FrameOnDiskAndStreamIdx> &frames);
32 #endif // !defined(DB_H)