/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Tools/Libs/GuiFoundation/Platform/Linux/UIServices_Linux.cpp
38 строк
899 B
Jan Krassnigg
Added support for asset or object references in log messages (#1947)
26 май 2026, 10:53
Не верифицирован
26 май 2026, 10:53
c4228c1
Код
Авторство
О чём код?
#include <GuiFoundation/GuiFoundationPCH.h> #if EZ_ENABLED(EZ_PLATFORM_LINUX) # include <GuiFoundation/UIServices/UIServices.moc.h> void ezQtUiServices::OpenInExplorer(ezStringView sPath, bool bIsFile) { QStringList args; ezStringBuilder parentDir; if (bIsFile) { parentDir = sPath; parentDir = parentDir.GetFileDirectory(); sPath = parentDir.GetData(); } args << QDir::toNativeSeparators(ezMakeQString(sPath)); QProcess::startDetached("xdg-open", args); } void ezQtUiServices::OpenWith(ezStringView sPath0) { ezStringBuilder sPath = sPath0; sPath.MakeCleanPath(); sPath.MakePathSeparatorsNative(); ezLog::Error("ezQtUiServices::OpenWith() not implemented on Linux"); } ezStatus ezQtUiServices::OpenInVsCode(const QStringList& arguments) { ezLog::Error("ezQtUiServices::OpenInVsCode() not implemented on Linux"); return ezStatus(EZ_FAILURE); } #endif