10#ifndef INCLUDED_VCL_ICONTHEMEINFO_HXX
11#define INCLUDED_VCL_ICONTHEMEINFO_HXX
15#include <rtl/ustring.hxx>
20class IconThemeInfoTest;
21class IconThemeSelectorTest;
22class IconThemeScannerTest;
32 static constexpr OUStringLiteral HIGH_CONTRAST_ID_BRIGHT =
u"sifr";
33 static constexpr OUStringLiteral HIGH_CONTRAST_ID_DARK =
u"sifr_dark";
52 static Size SizeByThemeName(std::u16string_view);
55 static bool UrlCanBeParsed(std::u16string_view url);
61 FindIconThemeById(
const std::vector<vcl::IconThemeInfo>& themes,
const OUString& themeId);
64 static bool IconThemeIsInVector(
const std::vector<vcl::IconThemeInfo>& themes,
65 const OUString& themeId);
77 static OUString FileNameToThemeId(std::u16string_view);
82 static OUString ThemeIdToDisplayName(
const OUString&);
91 friend class ::IconThemeInfoTest;
92 friend class ::IconThemeScannerTest;
93 friend class ::IconThemeSelectorTest;
This class provides information about an icon theme.
const OUString & GetThemeId() const
OUString mDisplayName
The name which is presented to the user.
OUString mUrlToFile
The url to the icon theme package.
const OUString & GetUrlToFile() const
const OUString & GetDisplayName() const
OUString mThemeId
The theme id.