// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project // SPDX-License-Identifier: GPL-3.0-or-later #ifndef QT_COMMON_H #define QT_COMMON_H #include #include #include "core/core.h" #include #include namespace QtCommon { extern QObject *rootObject; extern std::unique_ptr system; extern std::shared_ptr vfs; typedef std::function QtProgressCallback; Core::Frontend::WindowSystemType GetWindowSystemType(); Core::Frontend::EmuWindow::WindowSystemInfo GetWindowSystemInfo(QWindow *window); void Init(QObject *root); const QString tr(const char *str); const QString tr(const std::string &str); } // namespace QtCommon #endif