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
13class PHOSPHORSHELL_EXPORT ShellLoader
14{
15public:
16 explicit ShellLoader(const QString& shellName = QStringLiteral("phosphor-shell"));
17
18 [[nodiscard]] QUrl resolve() const;
19 [[nodiscard]] QString shellConfigDir() const;
20
21private:
22 QString m_shellName;
23};
24
25} // namespace PhosphorShell
Definition ShellLoader.h:14
QString shellConfigDir() const
ShellLoader(const QString &shellName=QStringLiteral("phosphor-shell"))
Definition Environment.h:11