@ -1,7 +1,7 @@
|
||||
#include "BaseExternalTool.h"
|
||||
|
||||
#include <QProcess>
|
||||
#include <QDir>
|
||||
#include <QProcess>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#include <windows.h>
|
||||
@ -9,33 +9,24 @@
|
||||
|
||||
#include "BaseInstance.h"
|
||||
|
||||
BaseExternalTool::BaseExternalTool(SettingsObjectPtr settings, InstancePtr instance, QObject *parent)
|
||||
BaseExternalTool::BaseExternalTool(SettingsObjectPtr settings, InstancePtr instance, QObject* parent)
|
||||
: QObject(parent), m_instance(instance), globalSettings(settings)
|
||||
{
|
||||
}
|
||||
{}
|
||||
|
||||
BaseExternalTool::~BaseExternalTool()
|
||||
{
|
||||
}
|
||||
BaseExternalTool::~BaseExternalTool() {}
|
||||
|
||||
BaseDetachedTool::BaseDetachedTool(SettingsObjectPtr settings, InstancePtr instance, QObject *parent)
|
||||
BaseDetachedTool::BaseDetachedTool(SettingsObjectPtr settings, InstancePtr instance, QObject* parent)
|
||||
: BaseExternalTool(settings, instance, parent)
|
||||
{
|
||||
|
||||
}
|
||||
{}
|
||||
|
||||
void BaseDetachedTool::run()
|
||||
{
|
||||
runImpl();
|
||||
}
|
||||
|
||||
BaseExternalToolFactory::~BaseExternalToolFactory() {}
|
||||
|
||||
BaseExternalToolFactory::~BaseExternalToolFactory()
|
||||
BaseDetachedTool* BaseDetachedToolFactory::createDetachedTool(InstancePtr instance, QObject* parent)
|
||||
{
|
||||
}
|
||||
|
||||
BaseDetachedTool *BaseDetachedToolFactory::createDetachedTool(InstancePtr instance,
|
||||
QObject *parent)
|
||||
{
|
||||
return qobject_cast<BaseDetachedTool *>(createTool(instance, parent));
|
||||
return qobject_cast<BaseDetachedTool*>(createTool(instance, parent));
|
||||
}
|
||||
|
Reference in New Issue
Block a user