aboutsummaryrefslogtreecommitdiffstats
path: root/src/activitypub/apactor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/activitypub/apactor.h')
-rw-r--r--src/activitypub/apactor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/activitypub/apactor.h b/src/activitypub/apactor.h
index ad8d689..70d80de 100644
--- a/src/activitypub/apactor.h
+++ b/src/activitypub/apactor.h
@@ -3,6 +3,8 @@
#include "apbase.h"
#include "apattachment.h"
#include <QDateTime>
+#include <QMetaType>
+#include <memory>
#include <vector>
struct APPropertyValue {
@@ -57,6 +59,9 @@ private:
// APActorList known_as;
};
+typedef std::shared_ptr<APActor> APActorPtr;
+Q_DECLARE_METATYPE(APActorPtr);
+
class APActorList : public std::vector<APActor>, APBase {
public:
QString get_html_render(HtmlRenderDetails render_info);