aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_parser.h
diff options
context:
space:
mode:
authorConfuSomu2022-12-26 18:18:21 -0500
committerConfuSomu2022-12-26 18:18:21 -0500
commit8b3b17f03ed8a3bfc9d72978f8b0134807132ee0 (patch)
treebafdd7cba619b16e3478eb10107e0d2235be9b51 /src/archive_parser.h
parent477a7257e3aaec13dac7096ab91749399543502e (diff)
downloadActorViewer-8b3b17f03ed8a3bfc9d72978f8b0134807132ee0.tar
ActorViewer-8b3b17f03ed8a3bfc9d72978f8b0134807132ee0.tar.gz
ActorViewer-8b3b17f03ed8a3bfc9d72978f8b0134807132ee0.zip
Implement initial list of statuses
Diffstat (limited to 'src/archive_parser.h')
-rw-r--r--src/archive_parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/archive_parser.h b/src/archive_parser.h
index ac9a7f0..e2d70df 100644
--- a/src/archive_parser.h
+++ b/src/archive_parser.h
@@ -1,10 +1,13 @@
#pragma once
#include <QString>
+#include <QStringList>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
+#include "types.h"
+
enum ArchiveType {
MASTODON
};
@@ -24,6 +27,8 @@ public:
Archive(QString outbox_filename, ArchiveType archive_type);
~Archive();
InitError init();
+
+ QStringList get_status_list(ViewTootTypes types);
private:
QString outbox_filename;
ArchiveType archive_type;