2023-12-15 13:09:36 +01:00
|
|
|
// Copyright (C) 2019 Luxoft Sweden AB
|
|
|
|
|
// Copyright (C) 2018 Pelagicore AG
|
|
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
|
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
|
|
|
|
|
|
#include "appmanagerplugin.h"
|
|
|
|
|
|
|
|
|
|
#include "appmanagercreatepackagestep.h"
|
|
|
|
|
#include "appmanagerdeployconfigurationautoswitcher.h"
|
|
|
|
|
#include "appmanagerdeployconfigurationfactory.h"
|
|
|
|
|
#include "appmanagerdeploypackagestep.h"
|
|
|
|
|
#include "appmanagerinstallpackagestep.h"
|
2023-12-20 10:38:09 +01:00
|
|
|
#include "appmanagerremoteinstallpackagestep.h"
|
2023-12-15 13:09:36 +01:00
|
|
|
#include "appmanagermakeinstallstep.h"
|
2023-12-20 10:38:09 +01:00
|
|
|
#include "appmanagercmakepackagestep.h"
|
2023-12-15 13:09:36 +01:00
|
|
|
#include "appmanagerrunconfiguration.h"
|
|
|
|
|
#include "appmanagerruncontrol.h"
|
|
|
|
|
|
|
|
|
|
namespace AppManager::Internal {
|
|
|
|
|
|
|
|
|
|
class AppManagerPluginPrivate
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
AppManagerDeployConfigurationFactory deployConfigFactory;
|
|
|
|
|
|
|
|
|
|
AppManagerRunConfigurationFactory runConfigFactory;
|
|
|
|
|
AppManagerRunWorkerFactory runWorkerFactory;
|
2023-12-20 10:38:09 +01:00
|
|
|
AppManagerDebugWorkerFactory debugWorkerFactory;
|
2024-01-11 14:20:16 +01:00
|
|
|
AppManagerQmlToolingWorkerFactory toolingWorkerFactory;
|
2023-12-15 13:09:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
AppManagerPlugin::~AppManagerPlugin()
|
|
|
|
|
{
|
|
|
|
|
delete d;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void AppManagerPlugin::initialize()
|
|
|
|
|
{
|
2024-01-10 18:04:51 +01:00
|
|
|
setupAppManagerCMakePackageStep();
|
|
|
|
|
setupAppManagerMakeInstallStep();
|
|
|
|
|
setupAppManagerCreatePackageStep();
|
|
|
|
|
setupAppManagerDeployPackageStep();
|
|
|
|
|
setupAppManagerInstallPackageStep();
|
|
|
|
|
setupAppManagerRemoteInstallPackageStep();
|
|
|
|
|
|
2024-01-11 13:46:21 +01:00
|
|
|
setupAppManagerDeployConfigurationAutoSwitcher();
|
|
|
|
|
|
2023-12-15 13:09:36 +01:00
|
|
|
d = new AppManagerPluginPrivate;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // AppManager::Internal
|