Panda3DS/include/services/act.hpp

24 lines
No EOL
534 B
C++

#pragma once
#include "helpers.hpp"
#include "kernel_types.hpp"
#include "logger.hpp"
#include "memory.hpp"
#include "result/result.hpp"
class ACTService {
using Handle = HorizonHandle;
Handle handle = KernelHandles::ACT;
Memory& mem;
MAKE_LOG_FUNCTION(log, actLogger)
// Service commands
void initialize(u32 messagePointer);
void generateUUID(u32 messagePointer);
void getAccountDataBlock(u32 messagePointer);
public:
ACTService(Memory& mem) : mem(mem) {}
void reset();
void handleSyncRequest(u32 messagePointer);
};