diff options
| author | mailwl <mailwl@gmail.com> | 2018-05-28 16:36:38 +0300 |
|---|---|---|
| committer | mailwl <mailwl@gmail.com> | 2018-05-28 16:46:56 +0300 |
| commit | 7757cc1a7ffceccdcd87a77d8ea292c822fa9599 (patch) | |
| tree | 4cd15764485f445d9c52cbcea96dcb480c3896f7 /src/core/hle/service/bcat/module.h | |
| parent | d809f658275f348043cf481149739113cfb274a8 (diff) | |
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 |
