diff options
| author | bunnei <bunneidev@gmail.com> | 2018-05-29 19:45:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-29 19:45:23 -0400 |
| commit | 5a763e8a5aafaccd6e18ea575e3f56c1a19bd508 (patch) | |
| tree | 50584223f4e03b05e166eaf38850edf79f403746 /src/core/hle/service/bcat/module.h | |
| parent | 220d4672df1f0eed9e68535a48c1100314098578 (diff) | |
| parent | 7757cc1a7ffceccdcd87a77d8ea292c822fa9599 (diff) | |
Merge pull request #480 from mailwl/bcat
Service/BCAT: add module and services
Diffstat (limited to 'src/core/hle/service/bcat/module.h')
| -rw-r--r-- | src/core/hle/service/bcat/module.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/core/hle/service/bcat/module.h b/src/core/hle/service/bcat/module.h new file mode 100644 index 000000000..8366fb877 --- /dev/null +++ b/src/core/hle/service/bcat/module.h @@ -0,0 +1,27 @@ +// Copyright 2018 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include "core/hle/service/service.h" + +namespace Service::BCAT { + +class Module final { +public: + class Interface : public ServiceFramework<Interface> { + public: + Interface(std::shared_ptr<Module> module, const char* name); + + void CreateBcatService(Kernel::HLERequestContext& ctx); + + protected: + std::shared_ptr<Module> module; + }; +}; + +/// Registers all BCAT services with the specified service manager. +void InstallInterfaces(SM::ServiceManager& service_manager); + +} // namespace Service::BCAT |
