service: fatal: Add function table

master
german77 2022-06-26 16:20:18 +07:00 committed by Narr the Reg
parent 2535e9d1ec
commit 1584de951a
1 changed files with 7 additions and 1 deletions

@ -6,7 +6,13 @@
namespace Service::Fatal { namespace Service::Fatal {
Fatal_P::Fatal_P(std::shared_ptr<Module> module_, Core::System& system_) Fatal_P::Fatal_P(std::shared_ptr<Module> module_, Core::System& system_)
: Interface(std::move(module_), system_, "fatal:p") {} : Interface(std::move(module_), system_, "fatal:p") {
static const FunctionInfo functions[] = {
{0, nullptr, "GetFatalEvent"},
{10, nullptr, "GetFatalContext"},
};
RegisterHandlers(functions);
}
Fatal_P::~Fatal_P() = default; Fatal_P::~Fatal_P() = default;