diff -r a5692c68d772 -r 593f946f4fec controlpanelplugins/themeplugin/src/cpthemeutil.h --- a/controlpanelplugins/themeplugin/src/cpthemeutil.h Fri Jun 25 17:12:20 2010 +0800 +++ b/controlpanelplugins/themeplugin/src/cpthemeutil.h Wed Sep 29 10:09:58 2010 +0800 @@ -19,18 +19,25 @@ #define CPTHEMEUTIL_H_ #include +#include class QStringList; class CpThemeInfo; +class HbIcon; class CpThemeUtil { public: - static QStringList themePathList(); static QList buildThemeList(); - static CpThemeInfo* buildThemeInfo(const QString& themePath, const QString& themeName); - static QString themePath(const QString& themeName); - static CpThemeInfo* defaultTheme(); + static CpThemeInfo* buildThemeInfo(const QString& themePath, const QString& themeName = QString()); + static QString defaultTheme(); + static const QList< QPair< QString, QString > > availableThemes(); + static const QStringList themeDirectories(const QList &themeInfoList); + +private: + static HbIcon getPreviewIcon(const QString& themePath); + + }; #endif /* CPTHEMEUTIL_H_ */