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:
Felix Kauselmann
2020-07-30 12:33:13 +02:00
parent f8a00605c5
commit 1b344d70e5
73 changed files with 249 additions and 247 deletions

View File

@ -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;