mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-11-05 03:46:32 +00:00
21 lines
428 B
C++
21 lines
428 B
C++
#pragma once
|
|
|
|
#include <qcontainerfwd.h>
|
|
#include <qobject.h>
|
|
#include <qtmetamacros.h>
|
|
|
|
namespace qs::scan::env {
|
|
|
|
class PreprocEnv: public QObject {
|
|
Q_OBJECT;
|
|
|
|
public:
|
|
Q_INVOKABLE static bool
|
|
hasVersion(int major, int minor, const QStringList& features = QStringList());
|
|
|
|
Q_INVOKABLE static QString env(const QString& variable);
|
|
Q_INVOKABLE static bool isEnvSet(const QString& variable);
|
|
};
|
|
|
|
} // namespace qs::scan::env
|