hti/HtiServicePlugins/HtiIpProxyServicePlugin/IPProxyEngine/Inc/IPProxyEnginefactory.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 0 a03f92240627
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
       
     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:  Factory class for IPProxyEngine
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IPPROXYENGINEFACTORY_H
       
    21 #define IPPROXYENGINEFACTORY_H
       
    22 
       
    23 // INCLUDE FILES
       
    24 #include <e32def.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class MIPProxyEngine;
       
    28 class MAbstractConnection;
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 /**
       
    33 *  Factory class for IPProxyEngine.
       
    34 */
       
    35 class IPProxyEngineFactory
       
    36     {
       
    37     public: // New functions
       
    38 
       
    39         /**
       
    40         * IPProxyEngine factory method.
       
    41         * @param aConnection pointer to abstract connection
       
    42         * @return Instance of an object that implements IPProxyEngine
       
    43         * interface. Ownership transfers to the caller.
       
    44         */
       
    45         IMPORT_C static MIPProxyEngine* CreateProxyEngineL( MAbstractConnection* aConnection );
       
    46 
       
    47     private:
       
    48 
       
    49         /**
       
    50         * C++ default constructor.
       
    51         */
       
    52         IPProxyEngineFactory();
       
    53     };
       
    54 
       
    55 #endif      // IPPROXYENGINEFACTORY_H
       
    56 
       
    57 // End of File