mmsharing/livecommsui/lcui/tsrc/mustester/Stubs/sipprofilestub/src/sipstub.cpp
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2002 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:  implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INCLUDE FILES
       
    20 
       
    21 #include <sip.h>
       
    22 
       
    23 
       
    24 
       
    25 EXPORT_C CSIP* CSIP::NewL(const TUid& /*aUid*/,
       
    26                            MSIPObserver& /*aObserver*/)
       
    27     {
       
    28     return new ( ELeave ) CSIP;
       
    29     }
       
    30 
       
    31 
       
    32 EXPORT_C CSIP* CSIP::NewLC(const TUid& /*aUid*/,
       
    33                             MSIPObserver& /*aObserver*/)
       
    34     {
       
    35     CSIP* sip = new ( ELeave ) CSIP;
       
    36     CleanupStack::PushL( sip );
       
    37     return sip;
       
    38     }
       
    39 
       
    40 
       
    41 EXPORT_C CSIP::~CSIP()
       
    42     {
       
    43     }
       
    44 
       
    45 
       
    46 
       
    47 EXPORT_C CDesC8Array* CSIP::SupportedSecurityMechanismsL() const
       
    48     {
       
    49     return NULL;
       
    50     }
       
    51 
       
    52 
       
    53 EXPORT_C TBool CSIP::IsSigCompSupportedL() const
       
    54     {
       
    55     return EFalse;
       
    56     }
       
    57 
       
    58 
       
    59 EXPORT_C HBufC8* CSIP::NegotiatedSecurityMechanismL(const TDesC8& /*aHop*/)
       
    60     {
       
    61     return NULL;
       
    62     }
       
    63 
       
    64 
       
    65 EXPORT_C CSIPConnection* CSIP::Connection(TUint32 /*aIapId*/) const
       
    66     {
       
    67     return NULL;
       
    68     }
       
    69 
       
    70 
       
    71 CSIPImplementation& CSIP::Implementation()
       
    72     {
       
    73     return *iImplementation;
       
    74     }
       
    75 
       
    76 
       
    77 CSIP::CSIP()
       
    78     {
       
    79     }
       
    80 
       
    81 void CSIP::ConstructL(const TUid& /*aUid*/, MSIPObserver& /*aObserver*/)
       
    82     {
       
    83     }