homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h
changeset 51 4785f57bf3d4
parent 46 23b5d6a29cce
--- a/homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h	Fri May 14 15:43:04 2010 +0300
+++ b/homescreenapp/stateplugins/hshomescreenstateplugin/inc/hsselectbackgroundstate.h	Thu May 27 12:46:08 2010 +0300
@@ -26,15 +26,13 @@
 
 HOMESCREEN_TEST_CLASS(HomeScreenStatePluginTest)
 
-class QThread;
+class HbProgressDialog;
 class HbView;
-class HbProgressDialog;
 #ifdef Q_OS_SYMBIAN
 class HsImageFetcherClient;
 #else
 class XQAIWGetImageClient;
 #endif
-class HsImageRender;
 
 class HsSelectBackgroundState : public QState
 {
@@ -47,15 +45,6 @@
 private:
     Q_DISABLE_COPY(HsSelectBackgroundState)
 
-    enum ImageProcessingState {
-        NotRunning,
-        ProcessPortraitAsFirst,
-        ProcessLandscapeAsFirst,
-        ProcessPortraitAsSecond,
-        ProcessLandscapeAsSecond,
-        Error
-    };
-
 signals:
     void event_waitInput();
     void handleError();
@@ -85,10 +74,10 @@
 #endif
     
     HbView *mSourceView;
-    QThread *mWallpaperImageReaderThread;
-    HsWallpaperImageReader *mWallpaperImageReader;
+    HsWallpaperImageReader *mPortraitWallpaperImageReader;
+    HsWallpaperImageReader *mLandscapeWallpaperImageReader;
     HbProgressDialog *mProgressDialog;
-    ImageProcessingState mImageProcessingState;
+    int mRunningThreadAmount;
     bool mShowAnimation;
 
     HOMESCREEN_TEST_FRIEND_CLASS(HomeScreenStatePluginTest)