1#ifndef ADDONSCONTROLLER_HXX
2#define ADDONSCONTROLLER_HXX
14#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
15Q_MOC_INCLUDE(
"CatalogListModel.hxx")
40 {
return m_catalogs; }
43 {
return m_addonsModuleModel; }
76 void setLocalAircraftPaths();
77 bool shouldShowOfficialCatalogMessage()
const;
78 void onCatalogsChanged();
87 QStringList m_addonModulePaths;
CatalogListModel * catalogs
void setAddons(AddonsModel *addons)
void onAddonsChanged(void)
Q_INVOKABLE QString addAircraftPath() const
Q_INVOKABLE QString addSceneryPath() const
Q_INVOKABLE QString addAddOnModulePath() const
bool showNoOfficialHangar
Q_INVOKABLE void officialCatalogAction(QString s)
PathListModel * sceneryPaths
void isOfficialHangarRegisteredChanged()
Q_INVOKABLE void openDirectory(QString path)
AddOnsController(LauncherMainWindow *parent, LaunchConfig *config)
void setModulePaths(QStringList modulePaths)
bool isOfficialHangarRegistered()
bool havePathsFromCommandLine
void modulePathsChanged(QStringList modulePaths)
Q_INVOKABLE QString installCustomScenery()
bool isOfficialHangarRegistered
void showNoOfficialHangarChanged()
AddonsModel * modules() const
PathListModel * aircraftPaths