summaryrefslogtreecommitdiffhomepage
path: root/weblog.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-02-12 18:57:09 +0100
committerRoland Reichwein <mail@reichwein.it>2023-02-12 18:57:09 +0100
commit5330a835484f16318b3b074f8cf8890203eb3393 (patch)
tree24eb06387206cca01da990937360ef946afacce3 /weblog.h
parent92a14d375c8cd9dabc32ccb6dcbdf83321af535f (diff)
Convert from webserver API to FCGI
Diffstat (limited to 'weblog.h')
-rw-r--r--weblog.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/weblog.h b/weblog.h
index 85eb5b1..25991ee 100644
--- a/weblog.h
+++ b/weblog.h
@@ -1,10 +1,15 @@
#pragma once
-class weblog
+#include "config.h"
+
+class Weblog
{
public:
- weblog();
- ~weblog();
+ Weblog(int argc, char* argv[]);
+ ~Weblog();
- void run(int argc, char* argv[]);
+ int run();
+
+private:
+ Config m_config;
};