aboutsummaryrefslogtreecommitdiffstats
path: root/src/activitypub/appost.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/activitypub/appost.h')
-rw-r--r--src/activitypub/appost.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/activitypub/appost.h b/src/activitypub/appost.h
index ccbedd9..8fe6430 100644
--- a/src/activitypub/appost.h
+++ b/src/activitypub/appost.h
@@ -3,6 +3,8 @@
#include "apobject.h"
#include "apbase.h"
#include "fields.h"
+#include <QMetaType>
+#include <memory>
#include <vector>
// APPost represents an ActivityPub Note Object
@@ -23,3 +25,6 @@ protected:
QString get_html_status_languages();
};
+
+typedef std::shared_ptr<APPost> APPostPtr;
+Q_DECLARE_METATYPE(APPostPtr);