summaryrefslogtreecommitdiffstats
path: root/src/yuzu/qt_common.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-07 06:55:39 +0200
committerGitHub <noreply@github.com>2023-05-07 06:55:39 +0200
commit3547248ec2f303ba1ce5cf41548631ad00e7f739 (patch)
treea7e99fa79998384d4f20361234bf77de57671571 /src/yuzu/qt_common.h
parentMerge pull request #10174 from german77/motriod (diff)
parentqt_common: Remove yuzu prefix (diff)
downloadyuzu-3547248ec2f303ba1ce5cf41548631ad00e7f739.tar
yuzu-3547248ec2f303ba1ce5cf41548631ad00e7f739.tar.gz
yuzu-3547248ec2f303ba1ce5cf41548631ad00e7f739.tar.bz2
yuzu-3547248ec2f303ba1ce5cf41548631ad00e7f739.tar.lz
yuzu-3547248ec2f303ba1ce5cf41548631ad00e7f739.tar.xz
yuzu-3547248ec2f303ba1ce5cf41548631ad00e7f739.tar.zst
yuzu-3547248ec2f303ba1ce5cf41548631ad00e7f739.zip
Diffstat (limited to 'src/yuzu/qt_common.h')
-rw-r--r--src/yuzu/qt_common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/yuzu/qt_common.h b/src/yuzu/qt_common.h
new file mode 100644
index 000000000..9c63f08f3
--- /dev/null
+++ b/src/yuzu/qt_common.h
@@ -0,0 +1,15 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <QWindow>
+#include "core/frontend/emu_window.h"
+
+namespace QtCommon {
+
+Core::Frontend::WindowSystemType GetWindowSystemType();
+
+Core::Frontend::EmuWindow::WindowSystemInfo GetWindowSystemInfo(QWindow* window);
+
+} // namespace QtCommon