blob: 9dd9d933ae7774e3e97c21318a3028b294dd025b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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 <QString>
namespace TerminalSolution {
class SurfaceIntegration
{
public:
virtual void onOsc(int cmd, std::string_view str, bool initial, bool final) = 0;
virtual void onBell() {}
virtual void onTitle(const QString &title) { Q_UNUSED(title) }
virtual void onSetClipboard(const QByteArray &text) { Q_UNUSED(text) }
virtual void onGetClipboard() {}
};
} // namespace TerminalSolution
|