mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Update server code integration for QtWebApp 1.7.11
- Adapt server code for QtWebapp namespace 'stefanfrings' - Implement custom modifications needed by v1 controller via template engine - Unify iphone and ipad templates
This commit is contained in:
@ -4,14 +4,16 @@
|
||||
#include <QObject>
|
||||
#include <QtCore>
|
||||
|
||||
namespace stefanfrings {
|
||||
class HttpSessionStore;
|
||||
}
|
||||
class YACReaderHttpSession;
|
||||
|
||||
class YACReaderHttpSessionStore : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderHttpSessionStore(HttpSessionStore *sessionStore, QObject *parent = nullptr);
|
||||
explicit YACReaderHttpSessionStore(stefanfrings::HttpSessionStore *sessionStore, QObject *parent = nullptr);
|
||||
|
||||
void addYACReaderHttpSession(const QByteArray &httpSessionId, YACReaderHttpSession *yacreaderHttpSession);
|
||||
YACReaderHttpSession *getYACReaderSessionHttpSession(const QByteArray &httpSessionId);
|
||||
@ -22,7 +24,7 @@ public slots:
|
||||
|
||||
private:
|
||||
QMap<QByteArray, YACReaderHttpSession *> sessions;
|
||||
HttpSessionStore *sessionStore;
|
||||
stefanfrings::HttpSessionStore *sessionStore;
|
||||
QTimer cleanupTimer;
|
||||
|
||||
QMutex mutex;
|
||||
|
Reference in New Issue
Block a user