10 #ifndef INCLUDED_VCL_ICONTHEMESCANNER_HXX
11 #define INCLUDED_VCL_ICONTHEMESCANNER_HXX
15 #include <rtl/ustring.hxx>
22 class IconThemeScannerTest;
34 static std::shared_ptr<IconThemeScanner>
Create(
const OUString& path);
38 static OUString GetStandardIconThemePath();
46 const IconThemeInfo& GetIconThemeInfo(
const OUString& themeId);
51 bool IconThemeIsInstalled(
const OUString& themeId)
const;
63 void ScanDirectoryForIconThemes(
const OUString& 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;
84 #endif // INCLUDED_VCL_ICONTHEMESCANNER_HXX
This class provides information about an icon theme.
const std::vector< IconThemeInfo > & GetFoundIconThemes() const
This class scans a folder for icon themes and provides the results.
std::vector< IconThemeInfo > mFoundIconThemes