Timesheets-Server
Timesheets server
Načítám...
Vyhledávám...
Nebylo nic nalezeno
sessionstore.h
Zobrazit dokumentaci tohoto souboru.
1
6
7#ifndef _SessionStore_H_
8#define _SessionStore_H_
9
10#include <QObject>
11#include "httpsessionstore.h"
12#include "httpsettings.h"
13
14namespace Httpd {
15
19class SessionStore : public HobrasoftHttpd::HttpSessionStore {
20 Q_OBJECT
21 public:
22
26 static SessionStore *sessionStore(const HobrasoftHttpd::HttpSettings *settings = NULL, QObject *parent = NULL);
27
31 void load();
32
36 void save();
37
39
40 private:
41 #ifndef DOXYGEN_SHOULD_SKIP_THIS
42 SessionStore(const HobrasoftHttpd::HttpSettings *settings, QObject *parent);
43
44 static SessionStore *m_sessionStore;
45 #endif
46};
47
48}
49
50#endif
Seesion store - zajišťuje singleton instanci třídy.
void load()
Loads sessions from the file configured in httpd/sessions-file.
static SessionStore * sessionStore(const HobrasoftHttpd::HttpSettings *settings=NULL, QObject *parent=NULL)
Vrací ukazatel na singleton instanci třídy.
void save()
Saves sessions to the file configured in httpd/sessions-file.
Jmenný prostor pro obsluhu konkrétních HTTP požadavků aplikace.