blob: 1f0e8624441b4124acd33a54b5584ce4ce31685c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#ifndef CONSOLE_H
#define CONSOLE_H
#include <QtAppManCommon/global.h>
QT_BEGIN_NAMESPACE_AM
class Console
{
public:
static bool ensureInitialized();
static bool stdoutSupportsAnsiColor();
static bool stderrSupportsAnsiColor();
static bool isRunningInQtCreator();
static bool stdoutIsConsoleWindow();
static bool stderrIsConsoleWindow();
static int width();
};
QT_END_NAMESPACE_AM
#endif // CONSOLE_H
|