Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
ShellLoader.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 fuddlesworth
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
6#include <PhosphorShell/phosphorshell_export.h>
7
8#include <QString>
9#include <QUrl>
10
11namespace PhosphorShell {
12
19class PHOSPHORSHELL_EXPORT ShellLoader
20{
21public:
22 explicit ShellLoader(const QString& shellName, const QUrl& bundledShell = QUrl());
23
24 [[nodiscard]] QUrl resolve() const;
25 [[nodiscard]] QString shellConfigDir() const;
26
27private:
28 QString m_shellName;
29 QUrl m_bundledShell;
30};
31
32} // namespace PhosphorShell
QString shellConfigDir() const
ShellLoader(const QString &shellName, const QUrl &bundledShell=QUrl())
Definition Environment.h:11