From 4e59eadba3b0d4586a9122e6a825ea030a139c9a Mon Sep 17 00:00:00 2001 From: ConfuSomu Date: Wed, 20 Mar 2024 13:28:19 -0400 Subject: Use smart pointers with AP classes and Instance --- src/archive/base_archive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/archive/base_archive.h') diff --git a/src/archive/base_archive.h b/src/archive/base_archive.h index 27259b3..c361fd5 100644 --- a/src/archive/base_archive.h +++ b/src/archive/base_archive.h @@ -34,10 +34,10 @@ public: static Archive* create_archive(ArchiveType archive_type, const QString& main_filename); virtual void update_status_list(ViewStatusTypes allowed_types, QListWidget *parent) = 0; - virtual APActivity* get_activity(ArchiveItemRef index, Hinting_t hinting) = 0; + virtual APActivityPtr get_activity(ArchiveItemRef index, Hinting_t hinting) = 0; // Get the Actor that represents the data export, the user who's account data has been exported. // Return nullptr if the Actor cannot be retrieved - virtual APActor* get_main_actor(); + virtual APActorPtr get_main_actor(); virtual const QString get_html_status_text(ArchiveItemRef status_index) = 0; virtual const QString get_instance_address(); -- cgit v1.2.3-54-g00ecf