Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
IWallpaperProvider.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 <PhosphorShaders/phosphorshaders_export.h>
7
8#include <QString>
9#include <memory>
10
11namespace PhosphorShaders {
12
16class PHOSPHORSHADERS_EXPORT IWallpaperProvider
17{
18public:
19 virtual ~IWallpaperProvider() = default;
20
23 virtual QString wallpaperPath() = 0;
24};
25
29PHOSPHORSHADERS_EXPORT std::unique_ptr<IWallpaperProvider> createWallpaperProvider();
30
31} // namespace PhosphorShaders
Abstract wallpaper provider interface.
Definition IWallpaperProvider.h:17
virtual QString wallpaperPath()=0
Return the filesystem path to the current desktop wallpaper image.
Definition ShaderEffect.h:28
PHOSPHORSHADERS_EXPORT std::unique_ptr< IWallpaperProvider > createWallpaperProvider()
Create the default wallpaper provider for the current desktop environment.