TreeFrogFramework: src/tsessionstoreplugin.h Source File

Go to the documentation of this file.

1#pragma once

2#include <QObject>

3#include <QStringList>

4#include <QtPlugin>

5#include <TGlobal>

6

8

10

11

18

20

21

23 Q_OBJECT

25

26public:

30

33};

34

The TSessionStoreInterface class provides an interface to implement TSessionStore plugins.

Definition tsessionstoreplugin.h:12

virtual ~TSessionStoreInterface()

Definition tsessionstoreplugin.h:14

virtual TSessionStore * create(const QString &key)=0

Implement this function to create a session store matching the name specified by the given key.

virtual void destroy(const QString &key, TSessionStore *store)=0

The TSessionStorePlugin class provides an abstract base for custom TSessionStore plugins.

Definition tsessionstoreplugin.h:22

~TSessionStorePlugin()

Definition tsessionstoreplugin.h:29

TSessionStorePlugin(QObject *parent=0)

Constructor.

Definition tsessionstoreplugin.h:27

virtual TSessionStore * create(const QString &key)=0

Implement this function to create a session store matching the name specified by the given key.

virtual void destroy(const QString &key, TSessionStore *store)=0

The TSessionStore is an abstract class that stores HTTP sessions.

Definition tsessionstore.h:8

#define T_CORE_EXPORT

Definition tdeclexport.h:28

constexpr auto TSessionStoreInterface_iid

Definition tsessionstoreplugin.h:9