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