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