summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat/module.h
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-05-28 15:36:38 +0200
committermailwl <mailwl@gmail.com>2018-05-28 15:46:56 +0200
commit7757cc1a7ffceccdcd87a77d8ea292c822fa9599 (patch)
tree4cd15764485f445d9c52cbcea96dcb480c3896f7 /src/core/hle/service/bcat/module.h
parentMerge pull request #472 from bunnei/greater-equal (diff)
downloadyuzu-7757cc1a7ffceccdcd87a77d8ea292c822fa9599.tar
yuzu-7757cc1a7ffceccdcd87a77d8ea292c822fa9599.tar.gz
yuzu-7757cc1a7ffceccdcd87a77d8ea292c822fa9599.tar.bz2
yuzu-7757cc1a7ffceccdcd87a77d8ea292c822fa9599.tar.lz
yuzu-7757cc1a7ffceccdcd87a77d8ea292c822fa9599.tar.xz
yuzu-7757cc1a7ffceccdcd87a77d8ea292c822fa9599.tar.zst
yuzu-7757cc1a7ffceccdcd87a77d8ea292c822fa9599.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/bcat/module.h27
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