hyperion.ng/include/webconfig/WebConfig.h
redPanther 7dfb9f1967 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
2016-06-12 22:27:24 +02:00

28 lines
459 B
C++

#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