26class AttachmentFetcher
28 public std::enable_shared_from_this<AttachmentFetcher> {
29 friend class Collection;
34 AttachmentFetcher(AttachmentFetcher &&);
35 AttachmentFetcher &operator=(AttachmentFetcher &&);
40 void on_stop()
override;
43 static void swap(AttachmentFetcher &lhs, AttachmentFetcher &rhs)
noexcept;
46 bool owned_by_store, std::shared_ptr<AttachmentToken>
const &token,
48 std::weak_ptr<Ditto::Fields>
const &weak_ditto_fields,
49 std::shared_ptr<DittoHandleWrapper>
const &ditto_handle_wrapper);
51 std::unique_ptr<ArcCtx> ctx;
52 std::weak_ptr<Ditto::Fields> weak_ditto_fields;