aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/archive_parser.h')
-rw-r--r--src/archive_parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/archive_parser.h b/src/archive_parser.h
index aa3bc8a..d9313ee 100644
--- a/src/archive_parser.h
+++ b/src/archive_parser.h
@@ -8,6 +8,7 @@
#include <QDir>
#include "types.h"
+#include "activitypub/apattachment.h"
enum ArchiveType {
MASTODON
@@ -42,6 +43,6 @@ private:
QJsonObject *outbox_json = nullptr;
QJsonArray *outbox_items = nullptr;
- QString get_html_status_attachments(QJsonValueRef attachments_ref, int text_zone_width);
+ std::vector<APAttachmentFields> get_status_attachments_list(QJsonValueRef attachments_ref);
void find_attachment_dir(QString example_attachment);
};