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