summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi/vi_u.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/service/vi/vi_u.h')
-rw-r--r--src/core/hle/service/vi/vi_u.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/core/hle/service/vi/vi_u.h b/src/core/hle/service/vi/vi_u.h
new file mode 100644
index 000000000..b3e9c094d
--- /dev/null
+++ b/src/core/hle/service/vi/vi_u.h
@@ -0,0 +1,29 @@
+// Copyright 2018 yuzu emulator team
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include <memory>
+#include "core/hle/service/service.h"
+
+namespace Service {
+namespace NVFlinger {
+class NVFlinger;
+}
+
+namespace VI {
+
+class VI_U final : public ServiceFramework<VI_U> {
+public:
+ VI_U(std::shared_ptr<NVFlinger::NVFlinger> nv_flinger);
+ ~VI_U() = default;
+
+private:
+ void GetDisplayService(Kernel::HLERequestContext& ctx);
+
+ std::shared_ptr<NVFlinger::NVFlinger> nv_flinger;
+};
+
+} // namespace VI
+} // namespace Service