imstutils/imconnectionprovider/tsrc/imconnectionprovider_test/src/stubs/s_ximpclient.cpp
branchRCL_3
changeset 29 9a48e301e94b
parent 0 5e5d6b214f4f
equal deleted inserted replaced
28:3104fc151679 29:9a48e301e94b
       
     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: s_ximpclient.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 #include "s_ximpclient.h"
       
    19 #include "s_ximpcontext.h"
       
    20 
       
    21 void MXIMPClientStub::GetProtocolsL(
       
    22                 RXIMPObjOwningPtrArray< MXIMPProtocolInfo >& aProtocols )
       
    23     {
       
    24     }
       
    25 
       
    26 MXIMPFeatureInfo* MXIMPClientStub::GetFrameworkFeaturesLC()
       
    27     {
       
    28     return NULL;
       
    29     }
       
    30 
       
    31 MXIMPContext* MXIMPClientStub::NewPresenceContextLC()
       
    32     {
       
    33     MXIMPContext* context = new ( ELeave ) MXIMPContextStub;
       
    34     CleanupStack::PushL( context );
       
    35     return context;
       
    36     }
       
    37 
       
    38 const TAny* MXIMPClientStub::GetInterface(
       
    39                     TInt32 aInterfaceId,
       
    40                     TIfGetOps aOps ) const
       
    41     {
       
    42     return NULL;
       
    43     }
       
    44 
       
    45 TAny* MXIMPClientStub::GetInterface(
       
    46                     TInt32 aInterfaceId,
       
    47                     TIfGetOps aOps )
       
    48     {
       
    49     return NULL;
       
    50     }
       
    51 
       
    52 TInt32 MXIMPClientStub::GetInterfaceId() const
       
    53     {
       
    54     return 0;
       
    55     }
       
    56 
       
    57 
       
    58 MXIMPClient* MXIMPClientStub::NewClientL()
       
    59 	{
       
    60 	return new (ELeave) MXIMPClientStub();	
       
    61 	}
       
    62 
       
    63 
       
    64     
       
    65 MXIMPClientStub::~MXIMPClientStub()
       
    66 	{
       
    67 		
       
    68 	}
       
    69     
       
    70     
       
    71 
       
    72