controlpanelplugins/themeplugin/src/cpthemeutil.h
changeset 40 593f946f4fec
parent 22 a5692c68d772
--- 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 <QList>
+#include <QPair>
 
 class QStringList;
 class CpThemeInfo;
+class HbIcon;
 
 class CpThemeUtil {
 
 public:
-    static QStringList themePathList();
     static QList<CpThemeInfo> 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<CpThemeInfo> &themeInfoList);
+    
+private:
+    static HbIcon getPreviewIcon(const QString& themePath);
+
+        
 };
 
 #endif /* CPTHEMEUTIL_H_ */