Launcher tools, display FSX/P3D config dirs

This commit is contained in:
Klaus Basan
2019-07-14 20:07:09 +02:00
committed by Mat Sutcliffe
parent 737aabb745
commit a5663914c5
5 changed files with 106 additions and 13 deletions

View File

@@ -25,7 +25,14 @@
#include <QNetworkReply>
namespace Ui { class CSwiftLauncher; }
namespace BlackGui { namespace Components { class CConfigurationWizard; }}
namespace BlackGui
{
namespace Components
{
class CConfigurationWizard;
class CTextEditDialog;
}
}
/*!
* swift launcher tool
@@ -86,6 +93,7 @@ private slots:
private:
QScopedPointer<Ui::CSwiftLauncher> ui;
QScopedPointer<BlackGui::Components::CConfigurationWizard> m_wizard;
QScopedPointer<BlackGui::Components::CTextEditDialog> m_textEditDialog;
BlackMisc::CData<BlackCore::Data::TLauncherSetup> m_setup { this }; //!< setup, i.e. last user selection
QString m_executable;
@@ -189,6 +197,9 @@ private:
//! Display a popup with the cmd line args
void popupExecutableArgs();
//! Show the FSX/P3D config simulator directories
void showSimulatorConfigDirs();
//! Command line
static QString toCmdLine(const QString &exe, const QStringList &exeArgs);
};