searchui/indevicehandler/inc/indevicehandler.h
changeset 16 e918432ddd92
parent 15 df6898e696c6
child 26 367228f82b66
--- a/searchui/indevicehandler/inc/indevicehandler.h	Mon Jul 26 12:45:04 2010 +0530
+++ b/searchui/indevicehandler/inc/indevicehandler.h	Mon Aug 09 12:23:41 2010 +0530
@@ -34,7 +34,6 @@
 
 class CpixSearcher;
 class CpixDocument;
-
 SEARCH_CLASS(SearchInDeviceHandlerTest)
 
 /**
@@ -78,6 +77,12 @@
      */
     void handleDocument(int aError, CpixDocument* aDoc);
 
+    /**
+     * Signalled when user requests for the result item in batch
+     * error and result item will be returned
+     */
+    void handleBatchDocument(int aError, int aCount, CpixDocument** aDoc);
+
 private slots:
 
     /**
@@ -97,6 +102,16 @@
      */
     void getDocumentAsync(int aError, CpixDocument* aDocument);
 
+    /**
+     * slot connects to CpixSearcher to get the result item 
+     * @since S60 ?S60_version.
+     * @param aError error code.
+     * @param aCount number of result item.
+     * @param aDocument array of Documents
+     */
+    void getBatchDocumentAsync(int aError, int aCount,
+            CpixDocument** aDocument);
+
 public:
 
     /**
@@ -113,7 +128,13 @@
      */
     void getDocumentAsyncAtIndex(int aIndex);
 
-  
+    /**
+     * returns the result item asynchronously.
+     * @since S60 ?S60_version.
+     * @param aIndex index 
+     * @param aCount number of result item
+     */
+    void getBatchDocumentAsyncAtIndex(int aIndex, int aCount);
 
     /**
      * initate the search asynchronously.
@@ -163,7 +184,7 @@
      */
     int mSearchResultCount;
 
-SEARCH_FRIEND_CLASS    (SearchInDeviceHandlerTest)
+    SEARCH_FRIEND_CLASS (SearchInDeviceHandlerTest)
     };
 
 #endif //INDEVICEHANDLER_H