Terminal: External terminal if blocked by modal

Change-Id: I89ba438c7a9f4d593e849b9b7ca2daf202cca625
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-05-25 10:56:07 +02:00
parent 0d95c68b21
commit 06365fa39f
6 changed files with 136 additions and 98 deletions

View File

@@ -0,0 +1,29 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include "terminalinterface.h"
namespace Utils {
class ProcessStubCreator;
class QTCREATOR_UTILS_EXPORT ExternalTerminalProcessImpl final : public TerminalInterface
{
public:
ExternalTerminalProcessImpl();
};
class QTCREATOR_UTILS_EXPORT ProcessStubCreator : public StubCreator
{
public:
ProcessStubCreator(TerminalInterface *interface);
~ProcessStubCreator() override = default;
expected_str<qint64> startStubProcess(const ProcessSetupData &setupData) override;
TerminalInterface *m_interface;
};
} // namespace Utils