44 return instance->vtable->instance->Store(*stream->
vtable->
instance);
47 static uint32_t GetRecordCountWrapper(details::IKillerNotificationTransferRecordManagerInternal *instance) {
48 return instance->vtable->instance->GetRecordCount();
51 static uint32_t GetRecordsWrapper(details::IKillerNotificationTransferRecordManagerInternal *instance, KillerNotificationTransferRecord *u1, uint32_t u2) {
52 return instance->vtable->instance->GetRecords(u1, u2);
55 static void RegisterRecordsWrapper(details::IKillerNotificationTransferRecordManagerInternal *instance,
const KillerNotificationTransferRecord *u1, uint32_t u2) {
56 return instance->vtable->instance->RegisterRecords(u1, u2);
59 static nn::Result RegisterRecordsOtherWrapper(details::IKillerNotificationTransferRecordManagerInternal *instance,
const uint32_t *u1, uint32_t u2) {
60 return instance->vtable->instance->RegisterRecords(u1, u2);
63 details::IKillerNotificationTransferRecordManagerInternal *GetInternal()
override {
67 void InitInternalVtable() {
69 .LoadFn = &LoadWrapper,
70 .LoadInitialFn = &LoadInitialWrapper,
71 .StoreFn = &StoreWrapper,
72 .GetRecordsFn = &GetRecordsWrapper,
73 .RegisterRecordsFn = &RegisterRecordsWrapper,
74 .RegisterRecordsOtherFn = &RegisterRecordsOtherWrapper};
75 mInstance.
vtable = &mVTable;
78 details::IKillerNotificationTransferRecordManagerInternal mInstance{};
128 details::IKillerNotificationTransferRecordManagerInternal mInstance = {};
143 return mInstance.
vtable->
LoadFn(base, stream.GetInternal());
153 return mInstance.
vtable->
StoreFn(base, stream.GetInternal());
Result value type used by nn libraries.
IKillerNotificationTransferRecordManager()
IKillerNotificationTransferRecordManager & operator=(IKillerNotificationTransferRecordManager &&src) noexcept
~IKillerNotificationTransferRecordManager() override=default
IKillerNotificationTransferRecordManager & operator=(const IKillerNotificationTransferRecordManager &other)
IKillerNotificationTransferRecordManager(IKillerNotificationTransferRecordManager &src)
~KillerNotificationTransferRecordManagerInternal() override
nn::Result Load(nn::sl::details::IStreamBase &stream) override
nn::Result RegisterRecords(const uint32_t *u1, uint32_t u2) override
KillerNotificationTransferRecordManagerInternal()
void RegisterRecords(const KillerNotificationTransferRecord *u1, uint32_t u2) override
uint32_t GetRecords(KillerNotificationTransferRecord *u1, uint32_t u2) const override
nn::Result LoadInitial() override
uint32_t GetRecordCount() const override
nn::Result Store(nn::sl::details::IStreamBase &stream) override
nn::Result Load(nn::sl::details::IStreamBase &stream) override
nn::Result RegisterRecords(const uint32_t *u1, uint32_t u2) override
KillerNotificationTransferRecordManager()
void RegisterRecords(const KillerNotificationTransferRecord *u1, uint32_t u2) override
uint32_t GetRecords(KillerNotificationTransferRecord *u1, uint32_t u2) const override
nn::Result LoadInitial() override
uint32_t GetRecordCount() const override
nn::Result Store(nn::sl::details::IStreamBase &stream) override
~KillerNotificationTransferRecordManager() override
virtual nn::Result Load(nn::sl::details::IStreamBase &stream)=0
virtual nn::Result LoadInitial()=0
void RegisterRecords__Q3_2nn2sl39KillerNotificationTransferRecordManagerFPCQ3_2nn2sl32KillerNotificationTransferRecordUi(IKillerNotificationTransferRecordManagerInternal *, const KillerNotificationTransferRecord *, uint32_t)
IKillerNotificationTransferRecordManagerInternVTable_RegisterRecordsFn RegisterRecordsFn
IKillerNotificationTransferRecordManagerInternalVTable * vtable
IKillerNotificationTransferRecordManagerInternVTable_GetRecordCountFn GetRecordCountFn
nn::Result Store__Q3_2nn2sl39KillerNotificationTransferRecordManagerCFRQ3_2nn2sl7IStream(IKillerNotificationTransferRecordManagerInternal *, details::IStreamInternal *)
uint32_t GetRecordCount__Q3_2nn2sl39KillerNotificationTransferRecordManagerCFv(IKillerNotificationTransferRecordManagerInternal *)
IStreamInternalVTable * vtable
IKillerNotificationTransferRecordManagerInternVTable_LoadInitialFn LoadInitialFn
nn::Result LoadInitial__Q3_2nn2sl39KillerNotificationTransferRecordManagerFv(IKillerNotificationTransferRecordManagerInternal *)
uint32_t GetRecords__Q3_2nn2sl39KillerNotificationTransferRecordManagerCFPQ3_2nn2sl32KillerNotificationTransferRecordUi(IKillerNotificationTransferRecordManagerInternal *, KillerNotificationTransferRecord *, uint32_t)
KillerNotificationTransferRecordManagerInternalInternal * __ct__Q3_2nn2sl47KillerNotificationTransferRecordManagerInternalFv(KillerNotificationTransferRecordManagerInternalInternal *)
void Finalize__Q3_2nn2sl39KillerNotificationTransferRecordManagerFv(IKillerNotificationTransferRecordManagerInternal *)
void * __dt__Q3_2nn2sl47KillerNotificationTransferRecordManagerInternalFv(KillerNotificationTransferRecordManagerInternalInternal *, int)
IKillerNotificationTransferRecordManagerInternVTable_StoreFn StoreFn
IKillerNotificationTransferRecordManagerInternVTable_LoadFn LoadFn
IKillerNotificationTransferRecordManagerInternVTable_RegisterRecordsOtherFn RegisterRecordsOtherFn
IKillerNotificationTransferRecordManagerInternVTable_FinalizeFn FinalizeFn
void * __dt__Q3_2nn2sl39KillerNotificationTransferRecordManagerFv(IKillerNotificationTransferRecordManagerInternal *, int)
IKillerNotificationTransferRecordManagerInternVTable_GetRecordsFn GetRecordsFn
nn::Result Load__Q3_2nn2sl39KillerNotificationTransferRecordManagerFRQ3_2nn2sl7IStream(IKillerNotificationTransferRecordManagerInternal *, details::IStreamInternal *)
IKillerNotificationTransferRecordManagerBase * instance
struct nn::sl::details::IKillerNotificationTransferRecordManagerInternalVTable IKillerNotificationTransferRecordManagerInternalVTable
IKillerNotificationTransferRecordManagerIntern * __ct__Q3_2nn2sl39KillerNotificationTransferRecordManagerFv(IKillerNotificationTransferRecordManagerInternal *)
details::IKillerNotificationTransferRecordManagerBase & GetDefaultKillerNotificationTransferRecordManager()