TreeFrogFramework  1.18
tsessionstorefactory.h
Go to the documentation of this file.
1 #ifndef TSESSIONSTOREFACTORY_H
2 #define TSESSIONSTOREFACTORY_H
3 
4 #include <QStringList>
5 #include <TGlobal>
6 
7 class TSessionStore;
8 
9 
11 {
12 public:
13  static QStringList keys();
14  static TSessionStore *create(const QString &key);
15  static void destroy(const QString &key, TSessionStore *store);
16 
17 private:
18  enum StoreType {
19  Invalid = 0,
20  SqlObject,
21  Cookie,
22  File,
23  Plugin,
24  };
25 
26  static void loadPlugins();
27 };
28 
29 #endif // TSESSIONSTOREFACTORY_H
#define T_CORE_EXPORT
Definition: tglobal.h:81
Definition: tfnamespace.h:24
The TSessionStoreFactory class creates TSessionStore objects.
Definition: tsessionstorefactory.h:10
The TSessionStore is an abstract class that stores HTTP sessions.
Definition: tsessionstore.h:10