uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_ximpcontextstateevent.cpp
branchRCL_3
changeset 22 3104fc151679
parent 21 2b7283837edb
child 23 9a48e301e94b
equal deleted inserted replaced
21:2b7283837edb 22:3104fc151679
     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_ximpcontextstateevent.cpp
       
    15 *
       
    16 */
       
    17 #include "s_ximpcontextstateevent.h"
       
    18 
       
    19 
       
    20 TInt32 gMXIMPContextStateEventStubInterfaceId = 0;
       
    21 
       
    22 const MXIMPContextState& MXIMPContextStateEventStub::ContextState() const
       
    23     {
       
    24     MXIMPContextState* state = NULL;
       
    25     return *state;
       
    26     }
       
    27 
       
    28 const MXIMPStatus* MXIMPContextStateEventStub::StateChangeReason() const
       
    29     {
       
    30     MXIMPStatus* status = NULL;
       
    31     return status;
       
    32     }
       
    33 
       
    34 const TAny* MXIMPContextStateEventStub::GetInterface(
       
    35                     TInt32 /*aInterfaceId*/,
       
    36                     TIfGetOps /*aOps*/ ) const
       
    37     {
       
    38     return this;
       
    39     }
       
    40 
       
    41 TAny* MXIMPContextStateEventStub::GetInterface(
       
    42                     TInt32 /*aInterfaceId*/,
       
    43                     TIfGetOps /*aOps */)
       
    44     {
       
    45     return NULL;
       
    46     }
       
    47 
       
    48 TInt32 MXIMPContextStateEventStub::GetInterfaceId() const
       
    49     {
       
    50     return gMXIMPContextStateEventStubInterfaceId;
       
    51     }