aboutsummaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/session.h b/src/session.h
index 4d5d59b..c81b2bf 100644
--- a/src/session.h
+++ b/src/session.h
@@ -13,13 +13,18 @@
#include <QJsonDocument>
class MainWindow;
+
+namespace JsonSession {
+QJsonObject session(QVector<MainWindow *> windows);
+}
+
class Session : public QObject
{
Q_OBJECT
public:
explicit Session(QObject *parent = nullptr);
- static QJsonObject toJsonObject(MainWindow *window);
+ static QJsonObject toJsonObject(const MainWindow *window);
static QJsonObject toJsonObject(const QString &profile, const QStringList &urls);
signals: