diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-01 20:27:45 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-02 21:51:30 -0400 |
| commit | cbd79df233754113ac509bf8de034d8cd8ffd588 (patch) | |
| tree | 8c2f0ca6da8651603541be30410865c55bc1e409 /src/yuzu/qt_common.h | |
| parent | c6c11c1553675bc48a80acf6c966134eb32b5364 (diff) | |
qt_common: Move window info function out of bootmanager
Function is useful outside of bootmanager, so put it in a common place.
qt_common: Add missing include
qt_common: Add some newlines
qt_common: Add trailing newline
qt_common: Add trainline newline
Diffstat (limited to 'src/yuzu/qt_common.h')
| -rw-r--r-- | src/yuzu/qt_common.h | 15 |
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..b366adee6 --- /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 YuzuQtCommon { + +Core::Frontend::WindowSystemType GetWindowSystemType(); + +Core::Frontend::EmuWindow::WindowSystemInfo GetWindowSystemInfo(QWindow* window); + +} // namespace YuzuQtCommon |
