Debugger: Unexport DebuggerRunControlFactory

Change-Id: I0d7c3ba312f7242d14b9c7cf4fe7174325b518ca
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-05-27 16:09:43 +02:00
parent 6eada122a3
commit f5548f4018
3 changed files with 37 additions and 44 deletions

View File

@@ -36,17 +36,16 @@
#include <projectexplorer/runconfiguration.h>
namespace ProjectExplorer { class Kit; }
namespace Debugger {
class RemoteSetupResult;
class DebuggerStartParameters;
class DebuggerRunControl;
namespace Internal {
class DebuggerEngine;
class DebuggerRunParameters;
}
DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
QString *errorMessage);
namespace Internal { class DebuggerEngine; }
class DEBUGGER_EXPORT DebuggerRunControl
: public ProjectExplorer::RunControl
@@ -83,7 +82,10 @@ signals:
private:
void handleFinished();
friend class DebuggerRunControlFactory;
friend DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
QString *errorMessage);
DebuggerRunControl(ProjectExplorer::RunConfiguration *runConfig,
Internal::DebuggerEngine *engine);
@@ -91,30 +93,6 @@ private:
bool m_running;
};
class DEBUGGER_EXPORT DebuggerRunControlFactory
: public ProjectExplorer::IRunControlFactory
{
public:
explicit DebuggerRunControlFactory(QObject *parent);
// FIXME: Used by qmljsinspector.cpp:469
ProjectExplorer::RunControl *create(
ProjectExplorer::RunConfiguration *runConfig,
ProjectExplorer::RunMode mode,
QString *errorMessage);
bool canRun(ProjectExplorer::RunConfiguration *runConfig,
ProjectExplorer::RunMode mode) const;
static DebuggerRunControl *doCreate(const DebuggerStartParameters &sp, QString *errorMessage);
ProjectExplorer::IRunConfigurationAspect *createRunConfigurationAspect(
ProjectExplorer::RunConfiguration *rc);
};
DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStartParameters &sp,
QString *errorMessage);
} // namespace Debugger
#endif // DEBUGGERRUNCONTROL_H