imservices/searchfeatureplugin/srcsearchoperations/searchop/operationsearch.h
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     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:  search operation
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef C_OPERATIONSEARCH_H
       
    19 #define C_OPERATIONSEARCH_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <ximpbase.h>
       
    23 
       
    24 #include "ximpoperationbase.h"
       
    25 #include "searchoperationdefs.h"
       
    26 
       
    27 #include <searchelement.h>
       
    28 
       
    29 class MsearchElement;
       
    30 class CSearchElementImp;
       
    31 class CXIMPIdentityImp;
       
    32 /**
       
    33  * search operation
       
    34  *
       
    35  * @lib searchoperation.dll
       
    36  */
       
    37 class COperationSearch : public CXIMPOperationBase
       
    38     {
       
    39 
       
    40     public:
       
    41         /**
       
    42 	     * constructor
       
    43 	     */
       
    44         IMPORT_C COperationSearch();
       
    45      
       
    46         /**
       
    47 	     * 2nd phase constructor
       
    48 	     */
       
    49         void ConstructL( const TDesC8& aParamPck );
       
    50         
       
    51        /**
       
    52          * Destructor
       
    53          */
       
    54         ~COperationSearch();
       
    55 
       
    56     public: // from CXIMPOperationBase
       
    57         /**
       
    58 	     * 
       
    59 	     * @see CXIMPOperationBase 
       
    60 	     */
       
    61         void ProcessL();
       
    62         
       
    63         /**
       
    64 	     * 
       
    65 	     * @see CXIMPOperationBase 
       
    66 	     */
       
    67         void RequestCompletedL();
       
    68         
       
    69         /**
       
    70 	     * 
       
    71 	     * @see CXIMPOperationBase 
       
    72 	     */
       
    73         TInt Type() const;
       
    74         
       
    75     private: // data
       
    76     
       
    77         /**
       
    78          * array of MSearchElement : Owned
       
    79          */
       
    80         RPointerArray<MSearchElement> iSearchList;
       
    81         /**
       
    82          * CXIMPIdentityImp : Owned
       
    83          */
       
    84         CXIMPIdentityImp* iSearchId;
       
    85         
       
    86         /**
       
    87          * serachlimit
       
    88          */
       
    89         TInt iSearchLimit;
       
    90     };
       
    91 
       
    92 
       
    93 #endif // C_OPERATIONSEARCH_H