10#ifndef INCLUDED_VCL_ICONTHEMESCANNER_HXX
11#define INCLUDED_VCL_ICONTHEMESCANNER_HXX
15#include <rtl/ustring.hxx>
22class IconThemeScannerTest;
34 static std::shared_ptr<IconThemeScanner>
Create(std::u16string_view path);
38 static OUString GetStandardIconThemePath();
46 const IconThemeInfo& GetIconThemeInfo(
const OUString& themeId);
51 bool IconThemeIsInstalled(
const OUString& themeId)
const;
63 void ScanDirectoryForIconThemes(std::u16string_view path);
67 bool AddIconThemeByPath(
const OUString& path);
72 static std::vector<OUString> ReadIconThemesFromPath(
const OUString& dir);
75 static bool FileIsValidIconTheme(
const OUString&);
79 friend class ::IconThemeScannerTest;
This class provides information about an icon theme.
This class scans a folder for icon themes and provides the results.
std::vector< IconThemeInfo > mFoundIconThemes
const std::vector< IconThemeInfo > & GetFoundIconThemes() const