diff options
Diffstat (limited to 'src/activitypub/apreblog.h')
-rw-r--r-- | src/activitypub/apreblog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/activitypub/apreblog.h b/src/activitypub/apreblog.h index cc340b8..66a6382 100644 --- a/src/activitypub/apreblog.h +++ b/src/activitypub/apreblog.h @@ -3,6 +3,8 @@ #include "apobject.h" #include "apobject.h" #include "src/types.h" +#include <QMetaType> +#include <memory> #include <vector> struct APReblogFields { @@ -25,3 +27,6 @@ protected: APObject object; // the object that was reblogged (impossible to be an APReblog) StatusType visibility; }; + +typedef std::shared_ptr<APReblog> APReblogPtr; +Q_DECLARE_METATYPE(APReblogPtr); |