emailservices/emailclientapi/inc/emailinterfacefactoryimpl.h
changeset 0 8466d47a6819
child 4 e7aa27f58ae1
equal deleted inserted replaced
-1:000000000000 0:8466d47a6819
       
     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: Interface factory implementation class definition
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef EMAILINTERFACEFACTORY_H
       
    19 #define EMAILINTERFACEFACTORY_H
       
    20 
       
    21 #include <emailinterfacefactory.h>
       
    22 
       
    23 using namespace EmailInterface;
       
    24 
       
    25 /**
       
    26 * Implements CEmailInterfaceFactory ECom interface
       
    27 *
       
    28 */
       
    29 NONSHARABLE_CLASS( CEmailInterfaceFactoryImpl ) : public CEmailInterfaceFactory
       
    30 {
       
    31 public: 
       
    32 
       
    33     /**
       
    34     * Creates interface factory
       
    35     * @return interface factory
       
    36     */
       
    37     static CEmailInterfaceFactoryImpl* NewL();
       
    38     
       
    39     // destructor
       
    40     ~CEmailInterfaceFactoryImpl();
       
    41     
       
    42     /** @see CEmailInterfaceFactory::InterfaceL */
       
    43     virtual MEmailInterface* InterfaceL(  const TInt aInterfaceId );
       
    44     
       
    45 private:    
       
    46     // c++ constructor
       
    47     CEmailInterfaceFactoryImpl();
       
    48 };
       
    49 
       
    50 #endif // EMAILINTERFACEFACTORY_H
       
    51 
       
    52 // End of file.