mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
* initial commit of webconfig * update example config with webconfig and fix format of file update debian postinst script for install example config
28 lines
459 B
C++
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
|
|
|