uiservicetab/vimpstengine/tsrc/vimpstengine_ut/src/stubs/s_ximpsearchkeysevent.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_ximpsearchkeysevent.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 #include "s_ximpsearchkeysevent.h"
       
    19 
       
    20 TInt32 gMXIMPSearchKeysEventStubInterfaceId = 0;
       
    21 
       
    22 
       
    23 TInt MSearchKeysEventStub::InfoCount()const
       
    24     {
       
    25     return KErrNone;
       
    26     }
       
    27     
       
    28 const MSearchKeyInfo& MSearchKeysEventStub::SearchKeyInfo( TInt /*aIndex*/ )const
       
    29     {
       
    30     MSearchKeyInfo* info = NULL;
       
    31     return *info;
       
    32     }
       
    33 
       
    34 
       
    35 const TAny* MSearchKeysEventStub::GetInterface(
       
    36                         TInt32 /*aInterfaceId*/,
       
    37                         TIfGetOps /*aOps*/ ) const
       
    38     {
       
    39     return this;
       
    40     }
       
    41 
       
    42  TAny* MSearchKeysEventStub::GetInterface(
       
    43                         TInt32 /*aInterfaceId*/,
       
    44                         TIfGetOps /*aOps*/ )
       
    45     {
       
    46     return NULL;
       
    47     }
       
    48 
       
    49 TInt32 MSearchKeysEventStub::GetInterfaceId() const
       
    50     {
       
    51     return gMXIMPSearchKeysEventStubInterfaceId;
       
    52     }