forked from qt-creator/qt-creator
McuSupport: Introduce new implementation stub
New/legacy implementation will be chosen based on contents of input json file. Change-Id: I989fa667c43123f831cc77320684413cab7652df Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -25,12 +25,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <utils/environmentfwd.h>
|
||||
#include "mcusupport_global.h"
|
||||
#include "mcukitmanager.h"
|
||||
#include "mcusupport_global.h"
|
||||
|
||||
#include <utils/environmentfwd.h>
|
||||
|
||||
#include <QObject>
|
||||
#include <QVector>
|
||||
#include <QVersionNumber>
|
||||
|
||||
QT_FORWARD_DECLARE_CLASS(QWidget)
|
||||
@@ -50,15 +50,11 @@ namespace McuSupport {
|
||||
namespace Internal {
|
||||
|
||||
class McuAbstractPackage;
|
||||
class McuToolChainPackage;
|
||||
class McuTarget;
|
||||
|
||||
class McuSdkRepository
|
||||
struct McuSdkRepository
|
||||
{
|
||||
public:
|
||||
QVector<McuAbstractPackage *> packages;
|
||||
QVector<McuTarget *> mcuTargets;
|
||||
|
||||
Packages packages;
|
||||
Targets mcuTargets;
|
||||
void deletePackagesAndTargets();
|
||||
};
|
||||
|
||||
@@ -91,6 +87,7 @@ public:
|
||||
void setAutomaticKitCreationEnabled(const bool enabled);
|
||||
void writeGeneralSettings() const;
|
||||
static bool automaticKitCreationFromSettings();
|
||||
|
||||
private:
|
||||
void deletePackagesAndTargets();
|
||||
|
||||
@@ -99,6 +96,5 @@ signals:
|
||||
void packagesChanged();
|
||||
};
|
||||
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace McuSupport
|
||||
|
||||
Reference in New Issue
Block a user