42 return instance->vtable->instance->CancelTransfer();
45 return instance->vtable->instance->InvalidateNotification(u1);
48 return instance->vtable->instance->DisplayNotification(u1, u2, u3);
55 void InitInternalVtable() {
57 .TransferDeprecatedFn = &TransferDeprecatedWrapper,
58 .TransferFn = &TransferWrapper,
59 .CancelTransferFn = &CancelTransferWrapper,
60 .InvalidateNotificationFn = &InvalidateNotificationWrapper,
61 .DisplayNotificationFn = &DisplayNotificationWrapper};
62 mInstance.
vtable = &mVTable;
66 details::ITransferrerInternalVTable mVTable{};
Result value type used by nn libraries.
ITransferrer & operator=(ITransferrer &&src) noexcept
~ITransferrer() override=default
ITransferrer(ITransferrer &src)
ITransferrer & operator=(const ITransferrer &other)
virtual nn::Result TransferDeprecated(void *buffer, uint32_t size, bool setKillerNotification, int transferMode) const =0
virtual nn::Result Transfer(void *buffer, uint32_t size, bool setKillerNotification, TransferMode transferMode) const =0
struct nn::sl::details::ITransferrerInternal ITransferrerInternal
ITransferrerBase * instance
ITransferrerInternalVTable * vtable
details::ITransferrerBase & GetDrcTransferrer()