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