module.h 666 B

123456789101112131415161718192021222324252627
  1. // Copyright 2018 yuzu emulator team
  2. // Licensed under GPLv2 or any later version
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include "core/hle/service/service.h"
  6. namespace Service::BCAT {
  7. class Module final {
  8. public:
  9. class Interface : public ServiceFramework<Interface> {
  10. public:
  11. Interface(std::shared_ptr<Module> module, const char* name);
  12. void CreateBcatService(Kernel::HLERequestContext& ctx);
  13. protected:
  14. std::shared_ptr<Module> module;
  15. };
  16. };
  17. /// Registers all BCAT services with the specified service manager.
  18. void InstallInterfaces(SM::ServiceManager& service_manager);
  19. } // namespace Service::BCAT