emailservices/emailframework/inc/CFSClientAPIRequestHandler.h
branchRCL_3
changeset 64 3533d4323edc
equal deleted inserted replaced
63:d189ee25cf9d 64:3533d4323edc
       
     1 /*
       
     2 * Copyright (c) 2009 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:  plugin request handler
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CFSCLIENTAPIREQUESTHANDLER_H
       
    20 #define CFSCLIENTAPIREQUESTHANDLER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include "cfsmailrequesthandler.h"
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CFSMailRequestObserver;
       
    27 class CEmailClientApi;
       
    28 class MEmailClientPluginManager;
       
    29 
       
    30 /**
       
    31  * Client API asynchronous request handler. Used by platform api implementation
       
    32  * to access plugins
       
    33  *
       
    34  */ 
       
    35 class CFSClientAPIRequestHandler : public CFSMailRequestHandler
       
    36 	{
       
    37 
       
    38 public:
       
    39   
       
    40     /**
       
    41      * destructor.
       
    42      */
       
    43      ~CFSClientAPIRequestHandler();
       
    44 
       
    45     /**
       
    46      * two based constructor
       
    47      *
       
    48      */
       
    49      static CFSClientAPIRequestHandler* NewL( MEmailClientPluginManager* aPluginManager);
       
    50 	
       
    51     /**
       
    52      * returns plugin pointer related to plugin id
       
    53      *
       
    54      * @param aPluginId plugin id
       
    55      * @return plugin pointer
       
    56      */
       
    57       virtual CFSMailPlugin* GetPluginByUid(TFSMailMsgId aPluginId);
       
    58 
       
    59 protected:
       
    60 
       
    61     /**
       
    62      * C++ default constructor.
       
    63      */
       
    64   	 CFSClientAPIRequestHandler(  MEmailClientPluginManager* aPluginManager );
       
    65   	 
       
    66     /**
       
    67      * two based constructor
       
    68      */
       
    69      void ConstructL( );
       
    70 
       
    71 
       
    72 private: // data
       
    73 
       
    74     MEmailClientPluginManager* iPluginManager;
       
    75     };
       
    76 
       
    77 #endif
       
    78 
       
    79 // End of File