mirror of
https://github.com/izzy2lost/Panda3DS.git
synced 2026-03-10 12:38:37 -07:00
23 lines
453 B
C++
23 lines
453 B
C++
#pragma once
|
|
#include "helpers.hpp"
|
|
#include "kernel_types.hpp"
|
|
#include "logger.hpp"
|
|
#include "memory.hpp"
|
|
|
|
class SOCService {
|
|
using Handle = HorizonHandle;
|
|
|
|
Handle handle = KernelHandles::SOC;
|
|
Memory& mem;
|
|
MAKE_LOG_FUNCTION(log, socLogger)
|
|
|
|
bool initialized = false;
|
|
|
|
// Service commands
|
|
void initializeSockets(u32 messagePointer);
|
|
|
|
public:
|
|
SOCService(Memory& mem) : mem(mem) {}
|
|
void reset();
|
|
void handleSyncRequest(u32 messagePointer);
|
|
}; |