forked from qt-creator/qt-creator
Profile introduction
Introduce Profiles to store sets of values that describe a system/device. These profiles are held by a target, getting rid of much of the information stored in the Build-/Run-/DeployConfigurations, greatly simplifying those. This is a squash of the wip/profile branch which has been on gerrit for a while, rebased to current master. Change-Id: I25956c8dd4d1962b2134bfaa8a8076ae3909460f Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
@@ -34,24 +34,26 @@
|
||||
#define ANDROIDRUNFACTORIES_H
|
||||
|
||||
#include <projectexplorer/runconfiguration.h>
|
||||
#include <qt4projectmanager/qmakerunconfigurationfactory.h>
|
||||
|
||||
namespace ProjectExplorer {
|
||||
class RunConfiguration;
|
||||
class RunControl;
|
||||
class RunConfigWidget;
|
||||
class Target;
|
||||
}
|
||||
using ProjectExplorer::IRunConfigurationFactory;
|
||||
|
||||
using ProjectExplorer::IRunControlFactory;
|
||||
using ProjectExplorer::RunConfiguration;
|
||||
using ProjectExplorer::RunControl;
|
||||
using ProjectExplorer::RunConfigWidget;
|
||||
using ProjectExplorer::Target;
|
||||
|
||||
namespace ProjectExplorer { class Node; }
|
||||
|
||||
namespace Android {
|
||||
namespace Internal {
|
||||
|
||||
class AndroidRunConfigurationFactory : public IRunConfigurationFactory
|
||||
class AndroidRunConfigurationFactory : public Qt4ProjectManager::QmakeRunConfigurationFactory
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -70,6 +72,10 @@ public:
|
||||
|
||||
bool canClone(Target *parent, RunConfiguration *source) const;
|
||||
RunConfiguration *clone(Target *parent, RunConfiguration *source);
|
||||
|
||||
bool canHandle(ProjectExplorer::Target *t) const;
|
||||
QList<ProjectExplorer::RunConfiguration *> runConfigurationsForNode(ProjectExplorer::Target *t,
|
||||
ProjectExplorer::Node *n);
|
||||
};
|
||||
|
||||
class AndroidRunControlFactory : public IRunControlFactory
|
||||
|
||||
Reference in New Issue
Block a user