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

@ -17,13 +17,16 @@
#include <switch.h>
#include <stratosphere.hpp>
#include "tma_task.hpp"
#include "tma_service_manager.hpp"
void TmaTask::Complete() {
/* TODO: Service manager */
/* TODO: Set packet state */
this->state = TmaTaskState::Complete;
this->manager->Tick();
}
void TmaTask::Cancel() {
/* TODO: Service manager */
/* TODO: Set packet state */
this->state = TmaTaskState::Canceled;
this->manager->Tick();
}