telephonyprotocols/pdplayer/src/PDPCPRFactory.cpp
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // PDP Connection Provider factory class definition.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #include "PDPCPRFactory.h"
       
    24 #include "PDPCPR.h"
       
    25 
       
    26 
       
    27 //-=========================================================
       
    28 //
       
    29 // CPDPConnectionProviderFactory methods
       
    30 //
       
    31 //-=========================================================
       
    32 CPDPConnectionProviderFactory* CPDPConnectionProviderFactory::NewL(TAny* aParentContainer)
       
    33     {
       
    34     return new (ELeave) CPDPConnectionProviderFactory(TUid::Uid(CPDPConnectionProviderFactory::iUid), *reinterpret_cast<ESock::CConnectionFactoryContainer*>(aParentContainer));
       
    35     }
       
    36 
       
    37 CPDPConnectionProviderFactory::CPDPConnectionProviderFactory(TUid aFactoryId, ESock::CConnectionFactoryContainer& aParentContainer)
       
    38 :	ESock::CConnectionProviderFactoryBase(aFactoryId, aParentContainer)
       
    39     {
       
    40     }
       
    41 
       
    42 ESock::ACommsFactoryNodeId* CPDPConnectionProviderFactory::DoCreateObjectL(ESock::TFactoryQueryBase& /* aQuery */)
       
    43     {
       
    44 	ESock::CConnectionProviderBase* provider = CPDPConnectionProvider::NewL(*this);
       
    45 	
       
    46 	
       
    47 	return provider;
       
    48     }
       
    49 
       
    50 
       
    51 
       
    52 
       
    53 
       
    54