mmappcomponents/mmmtpdataprovider/tsrc/mtpdataprovidertestmodule/src/ctestconnectionchannel.cpp
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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:  Dummy test connection channel for test module
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32def.h>
       
    20 #include "ctestconnectionchannel.h"
       
    21 
       
    22 TUint CTestConnectionChannel::ConnectionId() const
       
    23     {
       
    24     return KErrNone;
       
    25     }
       
    26 
       
    27 TUint CTestConnectionChannel::SessionCount() const
       
    28     {
       
    29     return KErrNone;
       
    30     }
       
    31 
       
    32 TBool CTestConnectionChannel::SessionWithMTPIdExists(TUint32 /*aMTPId*/) const
       
    33     {
       
    34     return ETrue;
       
    35     }
       
    36       
       
    37 MMTPSession& CTestConnectionChannel::SessionWithMTPIdL(TUint32 /*aMTPId*/) const
       
    38     {
       
    39     
       
    40     }
       
    41 
       
    42 TBool CTestConnectionChannel::SessionWithUniqueIdExists(TUint32 /*aUniqueId*/) const
       
    43     {
       
    44     return ETrue;
       
    45     }
       
    46       
       
    47 MMTPSession& CTestConnectionChannel::SessionWithUniqueIdL(TUint32 /*aUniqueId*/) const
       
    48     {
       
    49     
       
    50     }