summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/bcat/module.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-30 01:45:23 +0200
committerGitHub <noreply@github.com>2018-05-30 01:45:23 +0200
commit5a763e8a5aafaccd6e18ea575e3f56c1a19bd508 (patch)
tree50584223f4e03b05e166eaf38850edf79f403746 /src/core/hle/service/bcat/module.h
parentadd all the known TextureFormat (#474) (diff)
parentService/BCAT: add module and services (diff)
downloadyuzu-5a763e8a5aafaccd6e18ea575e3f56c1a19bd508.tar
yuzu-5a763e8a5aafaccd6e18ea575e3f56c1a19bd508.tar.gz
yuzu-5a763e8a5aafaccd6e18ea575e3f56c1a19bd508.tar.bz2
yuzu-5a763e8a5aafaccd6e18ea575e3f56c1a19bd508.tar.lz
yuzu-5a763e8a5aafaccd6e18ea575e3f56c1a19bd508.tar.xz
yuzu-5a763e8a5aafaccd6e18ea575e3f56c1a19bd508.tar.zst
yuzu-5a763e8a5aafaccd6e18ea575e3f56c1a19bd508.zip
Diffstat (limited to 'src/core/hle/service/bcat/module.h')
-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