imservices/searchfeatureplugin/srcsearchoperations/searchoperationfactoryimp.h
changeset 0 e6b17d312c8b
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     1 /*
       
     2 * Copyright (c) 2007 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 Service  operation factory
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SEARCHOPERATIONFACTORYIMP_H
       
    20 #define SEARCHOPERATIONFACTORYIMP_H
       
    21 
       
    22 
       
    23 #include <e32base.h>
       
    24 #include <ximpoperationfactory1.h>
       
    25 #include "searchapiobjbase.h"
       
    26 
       
    27 class CXIMPOperationBase;
       
    28 
       
    29 /**
       
    30  * Operation factory
       
    31  *
       
    32  * @lib searchoperation.dll
       
    33  */
       
    34 
       
    35 NONSHARABLE_CLASS(CSearchOperationFactory): public MXIMPOperationFactory1
       
    36     {
       
    37     
       
    38     public:
       
    39     /** The class ID. */
       
    40     enum { KClassId = IMP_CLSID_CSEARCHOPERATIONFACTORYIMP };
       
    41     
       
    42         
       
    43     public: // Construction and desctruction
       
    44     
       
    45     	/**
       
    46     	 * Construction :NewL
       
    47      	 */
       
    48         IMPORT_C static CSearchOperationFactory* NewL();
       
    49         
       
    50        /**
       
    51          * Destructor
       
    52          */
       
    53         virtual ~CSearchOperationFactory();
       
    54 
       
    55     private: // Construction
       
    56 
       
    57         /**
       
    58          * C++ default constructor.
       
    59          */
       
    60         CSearchOperationFactory();
       
    61 
       
    62         /**
       
    63          * Symbian 2nd phase constructor
       
    64          */
       
    65         void ConstructL();
       
    66 
       
    67 
       
    68     public: // From MXIMPOperationFactory1
       
    69 
       
    70 		/**
       
    71 		 * @see MXIMPOperationFactory1
       
    72 	 	 */
       
    73 		CXIMPOperationBase* CreateOperationL( TInt aOperation );
       
    74 
       
    75    
       
    76 
       
    77     };
       
    78 
       
    79 #endif      // SEARCHCOPERATIONFACTORYIMP_H
       
    80