pm: Implement pm:shell and pm:dmnt GetApplicationPid

Returns the process ID of the current application or 0 if no app is running.
This commit is contained in:
Zach Hilman
2019-06-26 19:07:34 -04:00
parent 354c254cde
commit bce4bfffb6
3 changed files with 33 additions and 7 deletions

View File

@ -4,8 +4,8 @@
#pragma once
namespace Service::SM {
class ServiceManager;
namespace Core {
class System;
}
namespace Service::PM {
@ -16,6 +16,6 @@ enum class SystemBootMode {
};
/// Registers all PM services with the specified service manager.
void InstallInterfaces(SM::ServiceManager& service_manager);
void InstallInterfaces(Core::System& system);
} // namespace Service::PM