2024-01-01 15:46:55 +08:00

27 lines
680 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMap>
#include <QDir>
#include <QCoreApplication>
class MainWindow
{
public:
MainWindow();
~MainWindow();
void CheckWine();
QString get_home();
private:
QString homePath = QDir::homePath();
QString programPath = QCoreApplication::applicationDirPath();
QMap<QString, QString> wine;
QStringList untipsWine = {"使用 Flatpak 安装的 Wine", "基于 exagear 的 deepin-wine6-stable", "基于 UOS box86 的 deepin-wine6-stable", "基于 UOS exagear 的 deepin-wine6-stable", "基于 linglong 的 deepin-wine6-stable不推荐"};
QStringList canUseWine = {};
};
#endif // MAINWINDOW_H