instantmessagesalert/tsrc/testinstantmsgalert/src/stubs/s_presenceinfofield.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_presenceinfofield.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 #include "s_presenceinfofield.h"
       
    19 
       
    20 const TDesC8& MPresenceInfoFieldStub::FieldType() const
       
    21     {
       
    22     return KNullDesC8;
       
    23     }
       
    24 
       
    25 void MPresenceInfoFieldStub::SetFieldTypeL( const TDesC8& /*aFieldType*/ )  
       
    26     {
       
    27     }
       
    28 
       
    29 const MXIMPBase& MPresenceInfoFieldStub::FieldValue() const
       
    30     {
       
    31     MXIMPBase* base = NULL;
       
    32     return *base;
       
    33     }
       
    34 
       
    35 MXIMPBase& MPresenceInfoFieldStub::FieldValue()
       
    36     {
       
    37     MXIMPBase* base = NULL;
       
    38     return *base;
       
    39     }
       
    40 
       
    41 void MPresenceInfoFieldStub::SetFieldValue( MXIMPBase* /*aFieldValue*/ )
       
    42     {
       
    43     }
       
    44 
       
    45 const TAny* MPresenceInfoFieldStub::GetInterface(
       
    46                     TInt32 /*aInterfaceId*/,
       
    47                     TIfGetOps /*aOps*/ ) const
       
    48     {
       
    49     return NULL;
       
    50     }
       
    51 
       
    52 TAny* MPresenceInfoFieldStub::GetInterface(
       
    53                     TInt32 /*aInterfaceId*/,
       
    54                     TIfGetOps /*aOps*/ )
       
    55     {
       
    56     return NULL;
       
    57     }
       
    58 
       
    59 TInt32 MPresenceInfoFieldStub::GetInterfaceId() const
       
    60     {
       
    61     return 0;
       
    62     }
       
    63 
       
    64 
       
    65 
       
    66 
       
    67 
       
    68