emailservices/emailframework/inc/CFSFWImplementation.h
changeset 0 8466d47a6819
child 24 d189ee25cf9d
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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: This file defines class CFSFWImplementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CFSFWIMPLEMENTATION_H
       
    20 #define __CFSFWIMPLEMENTATION_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <e32base.h>
       
    24 
       
    25 // forward declarations
       
    26 class CFSMailPluginManager;
       
    27 
       
    28 /**
       
    29  *  email framework
       
    30  *
       
    31  *  @lib FSFWCommonLib
       
    32  *  @since S60 v3.1
       
    33  */
       
    34 class CFSFWImplementation : public CBase
       
    35 {
       
    36  public:
       
    37   	
       
    38     /**
       
    39      * Destructor.
       
    40      */  
       
    41      ~CFSFWImplementation();
       
    42 
       
    43     /**
       
    44      * Two-phased constructor.
       
    45      *
       
    46      * @param aConfiguration loaded plugins
       
    47      */
       
    48      static CFSFWImplementation* NewL(TInt aConfiguration);
       
    49   	
       
    50     /**
       
    51      * Two-phased constructor.
       
    52      *
       
    53      * @param aConfiguration loaded plugins
       
    54      */
       
    55      static CFSFWImplementation* NewLC(TInt aConfiguration);
       
    56 
       
    57     /**
       
    58      * plugin manager accessor
       
    59      *
       
    60      * @returns plugin manager reference
       
    61      */
       
    62      CFSMailPluginManager& GetPluginManager( );
       
    63 
       
    64 protected:
       
    65 
       
    66     /**
       
    67      * ConstructL
       
    68      */
       
    69      void ConstructL(TInt aConfiguration);
       
    70 
       
    71 private:
       
    72 
       
    73     /**
       
    74      * C++ default constructor.
       
    75      */
       
    76      CFSFWImplementation();
       
    77 
       
    78 private: // data
       
    79 
       
    80     /** plugin manager */
       
    81      CFSMailPluginManager*	iPluginManager;
       
    82 };
       
    83 
       
    84 #endif // __CFSFWIMPLEMENTATION_H