Use YACReaderHttpSession in Static, so YACReader's session data will be available outside HttpSession.

This commit is contained in:
Luis Ángel San Martín 2016-06-21 22:00:48 +02:00
parent e67d34a511
commit 44d7c892c1

View File

@ -11,6 +11,8 @@
#include "httpsessionstore.h"
#include "staticfilecontroller.h"
#include "yacreader_http_session.h"
/**
This class contains some static resources that are used by the application.
*/
@ -51,6 +53,8 @@ public:
/** Storage for session cookies */
static HttpSessionStore* sessionStore;
static QMap<QByteArray, YACReaderHttpSession *> yacreaderSessionStore;
/** Controller for static files */
static StaticFileController* staticFileController;