homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h
changeset 39 4e8ebe173323
parent 36 cdae8c6c3876
child 46 23b5d6a29cce
--- a/homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h	Fri Apr 16 14:54:01 2010 +0300
+++ b/homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h	Mon May 03 12:24:59 2010 +0300
@@ -26,7 +26,11 @@
 
 class QImage;
 class HbView;
+#ifdef Q_OS_SYMBIAN
+class HsImageFetcherClient;
+#else
 class XQAIWGetImageClient;
+#endif
 
 class HsSelectBackgroundState : public QState
 {
@@ -41,17 +45,28 @@
 
 private:
     Q_DISABLE_COPY(HsSelectBackgroundState)
-    bool saveImage(QImage &image, const QString &path, Qt::Orientation orientation);
 
 private slots:
     void action_selectWallpaper();
     void action_disconnectImageFetcher();
-
+   
     void onFetchComplete(QStringList imageStringList);
     void onFetchFailed(int error);
 
+    // for S60 API
+#ifdef Q_OS_SYMBIAN
+    void fetchCompleted(const QString&);
+    void fetchFailed(int, const QString&);    
+#endif
+
 private:
+    
+#ifdef Q_OS_SYMBIAN
+    HsImageFetcherClient *mImageFetcher;
+#else
     XQAIWGetImageClient *mImageFetcher;
+#endif
+    
     HbView *mSourceView;
 
     HOMESCREEN_TEST_FRIEND_CLASS(HomeScreenStatePluginTest)