diff options
Diffstat (limited to 'src/activitypub/apobject.h')
-rw-r--r-- | src/activitypub/apobject.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/activitypub/apobject.h b/src/activitypub/apobject.h index 62e60c8..5f17e80 100644 --- a/src/activitypub/apobject.h +++ b/src/activitypub/apobject.h @@ -5,6 +5,8 @@ #include "apattachment.h" #include "../types.h" #include <QDateTime> +#include <QMetaType> +#include <memory> class APObject : protected APBase { public: @@ -34,3 +36,6 @@ protected: APAttachmentList attachments; }; + +typedef std::shared_ptr<APObject> APObjectPtr; +Q_DECLARE_METATYPE(APObjectPtr); |