homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsapplibrarystate.h
changeset 46 23b5d6a29cce
parent 39 4e8ebe173323
child 51 4785f57bf3d4
--- a/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsapplibrarystate.h	Mon May 03 12:24:59 2010 +0300
+++ b/homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hsapplibrarystate.h	Fri May 14 15:43:04 2010 +0300
@@ -22,6 +22,7 @@
 #include <hbdocumentloader.h>
 #include "hsmenustates_global.h"
 #include "hsmenuview.h"
+#include "hsmenumodewrapper.h"
 #include "hsapp_defs.h"
 
 HS_STATES_TEST_CLASS(MenuStatesTest)
@@ -34,20 +35,11 @@
 class HsAllAppsState;
 class HsAllCollectionsState;
 class HsCollectionState;
+class HsInstalledAppsState;
 class HsMenuModeTransition;
+class HsMenuModeWrapper;
 
-/**
- * @ingroup group_hsmenustateplugin
- * @brief Application Library State.
- *
- * Parent state for Application Library functionality
- *  (browsing applications and collections)
- *
- * @see StateMachine
- *
- * @lib ?library
- * @since S60 ?S60_version
- */
+
 class HsAppLibraryState: public QState
 {
     Q_OBJECT
@@ -70,17 +62,12 @@
 
     void clearToolbarLatch();
 
+    bool oviStoreAction();
+
     void allAppsStateEntered();
 
     void allCollectionsStateEntered();
 
-private slots:
-
-    void stateEntered();
-
-    void stateExited();
-
-
 protected:
 
     void onEntry(QEvent *event);
@@ -93,13 +80,7 @@
 
 private:
 
-    /**
-     * Secondary Softkey action.
-     * Usually backstepping functionality.
-     * Own.
-     */
-    HbAction *mSecondarySoftkeyAction;
-
+    HsMenuViewBuilder mMenuViewBuilder;
     /**
      * All Applications state.
      * Own.
@@ -124,7 +105,9 @@
      */
     HsCollectionState *mCollectionState;
 
-    HsMenuView mMenuView;
+    HsInstalledAppsState *mInstalledAppsState;
+
+    HsMenuModeWrapper mMenuMode;
 };
 
 #endif //HSAPPLIBRARYSTATE_H