diff options
author | ConfuSomu | 2023-09-12 10:08:19 -0400 |
---|---|---|
committer | ConfuSomu | 2023-09-12 10:08:19 -0400 |
commit | 80a658f062328ab8b47dc6b2557d274f51278b3a (patch) | |
tree | ca590656dd14c80bd467031bac4b5d6749006708 /src/archive/mastodon.h | |
parent | 40fd76d5b992fb868b44a6f76152655a0408e37b (diff) | |
download | ActorViewer-80a658f062328ab8b47dc6b2557d274f51278b3a.tar ActorViewer-80a658f062328ab8b47dc6b2557d274f51278b3a.tar.gz ActorViewer-80a658f062328ab8b47dc6b2557d274f51278b3a.zip |
Define archive item ref type for Archive classes
This type allows extension and the implementation of a more complete
archive item reference system in the future as it allows going beyond
ints.
Diffstat (limited to 'src/archive/mastodon.h')
-rw-r--r-- | src/archive/mastodon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive/mastodon.h b/src/archive/mastodon.h index bc9da3e..0d57d7a 100644 --- a/src/archive/mastodon.h +++ b/src/archive/mastodon.h @@ -18,8 +18,8 @@ public: std::variant<QString, InitError> init(); void update_status_list(ViewStatusTypes allowed_types, QListWidget *parent); - APActivity* get_activity(int index, Hinting_t hinting = {}); - const QString get_html_status_text(int status_index); + APActivity* get_activity(ArchiveItemRef index, Hinting_t hinting = {}); + const QString get_html_status_text(ArchiveItemRef status_index); const QString get_instance_address(); private: QDir archive_root_dir; |