forked from qt-creator/qt-creator
Change-Id: Id85348473236bc01ddcc65ec5302c0537c98c526 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
43 lines
1.1 KiB
C++
43 lines
1.1 KiB
C++
// Copyright (C) 2019 The Qt Company Ltd.
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
#pragma once
|
|
|
|
#include <projectexplorer/runconfiguration.h>
|
|
#include <projectexplorer/runconfigurationaspects.h>
|
|
#include <projectexplorer/runcontrol.h>
|
|
|
|
namespace Python::Internal {
|
|
|
|
class PySideUicExtraCompiler;
|
|
class PythonRunConfiguration;
|
|
|
|
class PythonInterpreterAspect final : public ProjectExplorer::InterpreterAspect
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
PythonInterpreterAspect(Utils::AspectContainer *container, ProjectExplorer::RunConfiguration *rc);
|
|
~PythonInterpreterAspect() final;
|
|
|
|
QList<PySideUicExtraCompiler *> extraCompilers() const;
|
|
|
|
private:
|
|
friend class PythonRunConfiguration;
|
|
class PythonInterpreterAspectPrivate *d = nullptr;
|
|
};
|
|
|
|
class PythonRunConfigurationFactory : public ProjectExplorer::RunConfigurationFactory
|
|
{
|
|
public:
|
|
PythonRunConfigurationFactory();
|
|
};
|
|
|
|
class PythonOutputFormatterFactory : public ProjectExplorer::OutputFormatterFactory
|
|
{
|
|
public:
|
|
PythonOutputFormatterFactory();
|
|
};
|
|
|
|
} // Python::Internal
|