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