mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
webui - "cgi" handler and multiple fixes (#700)
* initial commit of webconfig * update example config with webconfig and fix format of file update debian postinst script for install example config * fix compiling add new web server command "serverinfo" to use in webapp to retrieve json port * change web default port to 8099 * add cgi engine to webserver * fix include
This commit is contained in:
@@ -67,7 +67,7 @@ public:
|
||||
///
|
||||
/// @param[in] jsonConfig The Json configuration
|
||||
///
|
||||
Hyperion(const Json::Value& jsonConfig);
|
||||
Hyperion(const Json::Value& jsonConfig, const std::string configFile);
|
||||
|
||||
///
|
||||
/// Destructor; cleans up resourcess
|
||||
@@ -110,6 +110,11 @@ public:
|
||||
/// Get the list of active effects
|
||||
/// @return The list of active effects
|
||||
const std::list<ActiveEffectDefinition> &getActiveEffects();
|
||||
|
||||
///
|
||||
const Json::Value& getJsonConfig() { return _jsonConfig; };
|
||||
|
||||
std::string getConfigFileName() { return _configFile; };
|
||||
|
||||
public slots:
|
||||
///
|
||||
@@ -293,6 +298,12 @@ private:
|
||||
// proto and json Message forwarder
|
||||
MessageForwarder * _messageForwarder;
|
||||
|
||||
// json configuration
|
||||
const Json::Value& _jsonConfig;
|
||||
|
||||
// the name of config file
|
||||
std::string _configFile;
|
||||
|
||||
/// The timer for handling priority channel timeouts
|
||||
QTimer _timer;
|
||||
};
|
||||
|
Reference in New Issue
Block a user