imservices/searchfeatureplugin/srcsearchoperations/searchop/operationhandlesearchresult.h
changeset 51 61fad867f68e
equal deleted inserted replaced
-1:000000000000 51:61fad867f68e
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  handle search result operation
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef C_OPERATIONHANDLESEARCHRESULT_H
       
    19 #define C_OPERATIONHANDLESEARCHRESULT_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <ximpbase.h>
       
    23 
       
    24 #include <ximpoperationbase.h>
       
    25 #include "searchoperationdefs.h"
       
    26 
       
    27 #include "searchinfoimp.h"
       
    28 
       
    29 #include "searchtypehelpers.h"
       
    30 /**
       
    31  * handle search result operation
       
    32  *
       
    33  * @lib searchoperation.dll
       
    34  */
       
    35 class COperationHandleSearchResult : public CXIMPOperationBase
       
    36     {
       
    37 
       
    38     public:
       
    39         /**
       
    40 	     * constructor
       
    41 	     */
       
    42         IMPORT_C COperationHandleSearchResult();
       
    43         
       
    44         /**
       
    45 	     * 2nd phase constructor
       
    46 	     */
       
    47         void ConstructL( const TDesC8& aParamPck );
       
    48         
       
    49         /**
       
    50          * Destructor
       
    51          */
       
    52         ~COperationHandleSearchResult();
       
    53 
       
    54     public: // from CXIMPOperationBase
       
    55         /**
       
    56 	     * 
       
    57 	     * @see CXIMPOperationBase 
       
    58 	     */
       
    59         void ProcessL();
       
    60         
       
    61         /**
       
    62 	     * 
       
    63 	     * @see CXIMPOperationBase 
       
    64 	     */
       
    65         void RequestCompletedL();
       
    66         
       
    67         /**
       
    68 	     * 
       
    69 	     * @see CXIMPOperationBase 
       
    70 	     */
       
    71         TInt Type() const;
       
    72   
       
    73     private: // data
       
    74     
       
    75         /**
       
    76          * CXIMPIdentityImp : Not owned
       
    77          */
       
    78  
       
    79         CXIMPIdentityImp* iSearchId;
       
    80          
       
    81         /**
       
    82          * RSearchInfoImpArray : Not owned
       
    83          */
       
    84   
       
    85         RSearchInfoImpArray* iSearchResults;
       
    86         
       
    87         
       
    88     };
       
    89 
       
    90 
       
    91 #endif // C_OPERATIONHANDLESEARCHRESULT_H