AppletOE: Make ISelfController keep a reference to nvflinger.

It'll be needed when we implement CreateManagedDisplayLayer.
This commit is contained in:
Subv
2018-01-22 13:46:36 -05:00
parent 42859461f3
commit eb58f852f8
5 changed files with 32 additions and 10 deletions

View File

@ -4,13 +4,19 @@
#pragma once
#include <memory>
#include "core/hle/service/service.h"
namespace Service {
namespace NVFlinger {
class NVFlinger;
}
namespace AM {
/// Registers all AM services with the specified service manager.
void InstallInterfaces(SM::ServiceManager& service_manager);
void InstallInterfaces(SM::ServiceManager& service_manager,
std::shared_ptr<NVFlinger::NVFlinger> nvflinger);
} // namespace AM
} // namespace Service