10#ifndef INCLUDED_VCL_ICONTHEMESELECTOR_HXX
11#define INCLUDED_VCL_ICONTHEMESELECTOR_HXX
13#include <rtl/ustring.hxx>
20class IconThemeSelectorTest;
44 const std::vector<IconThemeInfo>& installedThemes,
58 SelectIconThemeForDesktopEnvironment(
59 const std::vector<IconThemeInfo>& installedThemes,
60 const OUString& desktopEnvironment)
const;
63 SetUseHighContrastTheme(
bool);
67 SetPreferredIconTheme(
const OUString&,
bool bDarkIconTheme);
78 ReturnFallback(
const std::vector<IconThemeInfo>& installedThemes);
81 static constexpr OUStringLiteral FALLBACK_LIGHT_ICON_THEME_ID =
u"colibre";
82 static constexpr OUStringLiteral FALLBACK_DARK_ICON_THEME_ID =
u"colibre_dark";
85 GetIconThemeForDesktopEnvironment(
const OUString& desktopEnvironment,
bool bPreferDarkIconTheme);
91 friend class ::IconThemeSelectorTest;
This class helps to choose an icon theme from a list of installed themes.
bool mUseHighContrastTheme
OUString mPreferredIconTheme
bool mPreferDarkIconTheme
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)
bool operator!=(const ItalicMatrix &a, const ItalicMatrix &b)