summaryrefslogtreecommitdiffhomepage
path: root/whiteboard.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2022-12-30 15:07:39 +0100
committerRoland Reichwein <mail@reichwein.it>2022-12-30 15:07:39 +0100
commitaf1c4ee4d74ff7afc997372802d851d11daad418 (patch)
tree745761113c41ccbe6ea37119b51b609a219882c9 /whiteboard.cpp
parent3f3d579c6a6f9a1a31278221f85b3194e3b6c5f4 (diff)
Added tests, added sqlite-backed storage (WIP!)
Diffstat (limited to 'whiteboard.cpp')
-rw-r--r--whiteboard.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/whiteboard.cpp b/whiteboard.cpp
index dd5f1a8..45434df 100644
--- a/whiteboard.cpp
+++ b/whiteboard.cpp
@@ -4,6 +4,7 @@
#include <string.h>
#include <dirent.h>
#include <sys/types.h>
+
#include <fcgiapp.h>
#include <iostream>
@@ -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();