tma: first pass at TmaServiceManager

This commit is contained in:
Michael Scire
2018-12-05 04:16:48 -08:00
parent bb48e33074
commit bf7dc84893
11 changed files with 595 additions and 22 deletions

View File

@@ -36,10 +36,11 @@ class TmaTaskList {
u32 GetNumTasks() const;
u32 GetNumSleepingTasks() const;
bool IsIdFree(u32 task_id) const;
bool SendPacket(bool connected, TmaPacket *packet);
bool ReceivePacket(TmaPacket *packet);
void CleanupDoneTasks();
void Add(TmaTask *task);
void Cancel(u32 task_id);
void CancelAll();