searchui/stateproviders/searchstateprovider/inc/searchprogressivestate.h
changeset 16 e918432ddd92
parent 15 df6898e696c6
child 18 1edf350003c5
--- a/searchui/stateproviders/searchstateprovider/inc/searchprogressivestate.h	Mon Jul 26 12:45:04 2010 +0530
+++ b/searchui/stateproviders/searchstateprovider/inc/searchprogressivestate.h	Mon Aug 09 12:23:41 2010 +0530
@@ -144,12 +144,20 @@
      */
     void constructHandlers();
 
+    InDeviceHandler* constructHandlers(int mDatabase);
+
     /**
      * setting the categories .
      * @since S60 ?S60_version.
      */
     void setSelectedCategories();
-    
+
+    /**
+     * parse the result documents.
+     * @since S60 ?S60_version.
+     */
+    void parseDocument(CpixDocument* aDoc);
+
 public slots:
 
     /**
@@ -169,6 +177,15 @@
     void onGetDocumentComplete(int aError, CpixDocument* aDoc);
 
     /**
+     * slot connects to CSearchHandler to get the result item asynchronously 
+     * @since S60 ?S60_version.
+     * @param aError error code.
+     * @param aDoc result item
+     */
+    void onGetBatchDocumentComplete(int aError, int aCount,
+            CpixDocument** aDoc);
+
+    /**
      * slot connects to list view to launch the respective application
      * @since S60 ?S60_version.
      * @param aIndex index of the activated item.
@@ -252,7 +269,6 @@
      * @since S60 ?S60_version.
      */
     void slotPrepareResultIcons();
-
 private:
 
     /**
@@ -492,6 +508,9 @@
     SearchUiLoader* mUiLoader;
 
     bool mStateStatus;
+
+    bool mValidateHandlerCreation;
+
 #ifdef OST_TRACE_COMPILER_IN_USE
     QTime m_totalSearchUiTime;
     QTime m_categorySearchUiTime;
@@ -502,7 +521,7 @@
     long m_getDocumentCatergoryTimeAccumulator;
 #endif
 
-SEARCH_FRIEND_CLASS    (SearchStateProviderTest)
+    SEARCH_FRIEND_CLASS (SearchStateProviderTest)
 
     };