mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Const correctness, override keyword, a bunch of stuff..
This commit is contained in:
@@ -10,19 +10,20 @@
|
||||
#include "QtHttpReply.h"
|
||||
#include "QtHttpRequest.h"
|
||||
|
||||
class CgiHandler : public QObject {
|
||||
class CgiHandler : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CgiHandler (QObject * parent = NULL);
|
||||
CgiHandler(QObject * parent = nullptr);
|
||||
|
||||
void setBaseUrl(const QString& url);
|
||||
void exec(const QStringList & args,QtHttpRequest * request, QtHttpReply * reply);
|
||||
void exec(const QStringList & args, QtHttpRequest * request, QtHttpReply * reply);
|
||||
|
||||
private:
|
||||
// CGI commands
|
||||
void cmd_cfg_jsonserver();
|
||||
void cmd_runscript ();
|
||||
void cmd_runscript();
|
||||
|
||||
QtHttpReply * _reply;
|
||||
QtHttpRequest * _request;
|
||||
|
Reference in New Issue
Block a user