integrated webserver ... (#697)

* initial commit of webconfig

* update example config with webconfig and fix format of file
update debian postinst script for install example config
This commit is contained in:
redPanther
2016-06-12 22:27:24 +02:00
committed by brindosch
parent d2f47251f5
commit 7dfb9f1967
55 changed files with 8952 additions and 76 deletions

View File

@@ -0,0 +1,27 @@
#ifndef WEBCONFIG_H
#define WEBCONFIG_H
#include <QObject>
#include <string>
class StaticFileServing;
class WebConfig : public QObject {
Q_OBJECT
public:
explicit WebConfig (std::string baseUrl, quint16 port, QObject * parent = NULL);
virtual ~WebConfig (void);
void start();
void stop();
private:
QObject * _parent;
QString _baseUrl;
quint16 _port;
StaticFileServing * _server;
};
#endif // WEBCONFIG_H