instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_presencepersoninfo.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_presencepersoninfo.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 #include "s_presencepersoninfo.h"
       
    19 #include "s_presenceinfofieldcollection.h"
       
    20 
       
    21 MPresenceInfoFieldCollectionStub gMPersonPresenceInfoStubCollection;
       
    22 
       
    23 const MPresenceInfoFieldCollection& MPersonPresenceInfoStub::Fields() const
       
    24     {
       
    25     return gMPersonPresenceInfoStubCollection;
       
    26     }
       
    27 
       
    28 MPresenceInfoFieldCollection& MPersonPresenceInfoStub::Fields()
       
    29     {
       
    30     return gMPersonPresenceInfoStubCollection;
       
    31     }
       
    32 
       
    33 const TAny* MPersonPresenceInfoStub::GetInterface(
       
    34                     TInt32 /*aInterfaceId*/,
       
    35                     TIfGetOps /*aOps*/ ) const
       
    36     {
       
    37     return NULL;
       
    38     }
       
    39 
       
    40 TAny* MPersonPresenceInfoStub::GetInterface(
       
    41                     TInt32 /*aInterfaceId*/,
       
    42                     TIfGetOps /*aOps*/ )
       
    43     {
       
    44     return NULL;
       
    45     }
       
    46 
       
    47 TInt32 MPersonPresenceInfoStub::GetInterfaceId() const
       
    48     {
       
    49     return 0;
       
    50     }
       
    51 
       
    52 
       
    53 
       
    54