1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

HttpServer: use settings structures in place of QSettings (3)

This commit is contained in:
f4exb
2017-11-13 01:26:48 +01:00
parent 3fb9d56d85
commit ef2f591bcd
4 changed files with 52 additions and 9 deletions
+6
View File
@@ -35,6 +35,8 @@ namespace qtwebapp {
The body is always a little larger than the file itself.
*/
class HttpListenerSettings;
class DECLSPEC HttpRequest {
Q_DISABLE_COPY(HttpRequest)
friend class HttpSessionStore;
@@ -49,6 +51,7 @@ public:
@param settings Configuration settings
*/
HttpRequest(QSettings* settings);
HttpRequest(HttpListenerSettings* settings);
/**
Destructor.
@@ -232,6 +235,9 @@ private:
/** Buffer for collecting characters of request and header lines */
QByteArray lineBuffer;
/** settings flag */
bool useQtSettings;
};
} // end of namespace