diff options
author | ConfuSomu | 2023-07-05 15:24:07 +0200 |
---|---|---|
committer | ConfuSomu | 2023-07-06 00:33:30 +0200 |
commit | 9b70e3c5a208a881188bc6468fe27933cbdb02f8 (patch) | |
tree | 85041878bfd250232284f831663b1a611e902521 /src/archive_parser.h | |
parent | e515ca109faa897e84be8a97a1240c59df612dd4 (diff) | |
download | ActorViewer-9b70e3c5a208a881188bc6468fe27933cbdb02f8.tar ActorViewer-9b70e3c5a208a881188bc6468fe27933cbdb02f8.tar.gz ActorViewer-9b70e3c5a208a881188bc6468fe27933cbdb02f8.zip |
Move implementation detail functions into Archive
These functions were in archive_parser.cpp's compilation unit which has
only functions related to the Archive class but it is better to make
them private members of Archive as they are implementation details of
this class to make the link more clear.
Diffstat (limited to 'src/archive_parser.h')
-rw-r--r-- | src/archive_parser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/archive_parser.h b/src/archive_parser.h index d9313ee..c206087 100644 --- a/src/archive_parser.h +++ b/src/archive_parser.h @@ -43,6 +43,10 @@ private: QJsonObject *outbox_json = nullptr; QJsonArray *outbox_items = nullptr; + bool is_status_type_allowed(StatusType status_type, ViewStatusTypes allowed_types); + StatusType get_status_type(QJsonObject obj); + QStringList get_status_object_list(QJsonObject obj, QString element_name) ; + QStringList get_status_object_language_list(QJsonObject obj, QString element_name); std::vector<APAttachmentFields> get_status_attachments_list(QJsonValueRef attachments_ref); void find_attachment_dir(QString example_attachment); }; |