17 #ifndef NURIA_SESSION_HPP
18 #define NURIA_SESSION_HPP
20 #include "essentials.hpp"
22 #include <QSharedData>
27 class AbstractSessionManager;
31 NURIA_CORE_EXPORT
bool operator== (
const Session &a,
const Session &b);
32 NURIA_CORE_EXPORT
bool operator!= (
const Session &a,
const Session &b);
59 bool isValid ()
const;
62 QByteArray id ()
const;
71 bool isDirty ()
const;
100 int refCount ()
const;
108 QVariant value (
const QString &key)
const;
111 bool contains (
const QString &key)
const;
121 QVariant &operator[] (
const QString &key);
124 QVariant operator[] (
const QString &key)
const;
137 QExplicitlySharedDataPointer< SessionPrivate > d;
144 #endif // NURIA_SESSION_HPP
Definition: abstractsessionmanager.hpp:24
Interface for a session manager.
Definition: abstractsessionmanager.hpp:54
A data storage managed by an AbstractSessionManager.
Definition: session.hpp:44