From af1c4ee4d74ff7afc997372802d851d11daad418 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 30 Dec 2022 15:07:39 +0100 Subject: Added tests, added sqlite-backed storage (WIP!) --- whiteboard.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'whiteboard.cpp') diff --git a/whiteboard.cpp b/whiteboard.cpp index dd5f1a8..45434df 100644 --- a/whiteboard.cpp +++ b/whiteboard.cpp @@ -4,6 +4,7 @@ #include #include #include + #include #include @@ -23,6 +24,7 @@ #include "config.h" #include "file.h" #include "qrcode.h" +#include "storage.h" namespace pt = boost::property_tree; using namespace std::string_literals; @@ -98,6 +100,8 @@ int main(void) Config config; data_path = config.getDataPath(); + Storage storage(config); + Magick::InitializeMagick(NULL); // for qrcode.cpp int result = FCGX_Init(); -- cgit v1.2.3