uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/src/stub/s_enginesearchextention.cpp
changeset 0 5e5d6b214f4f
equal deleted inserted replaced
-1:000000000000 0:5e5d6b214f4f
       
     1 /*
       
     2 * Copyright (c) 2006, 2007 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_enginecontmgtextfeatures.cpp
       
    15 *
       
    16 */
       
    17 
       
    18 #include "s_enginesearchextention.h"
       
    19 #include "tvimpstenums.h"
       
    20 
       
    21 MVIMPSTEngineSearchMgrExtention* searchextention_stub::NewL()
       
    22 {
       
    23 	MVIMPSTEngineSearchMgrExtention* extFeature = new(ELeave) searchextention_stub;
       
    24 	return extFeature ;
       
    25 }
       
    26 
       
    27 TVIMPSTEnums::FeatureSupport searchextention_stub::IsSupported() const 
       
    28 {
       
    29 	return TVIMPSTEnums::ESupported;
       
    30 }
       
    31 
       
    32 /**
       
    33 * SetSupported
       
    34 * @param TVIMPSTEnums::FeatureSupport defined in tvimpstenums.h
       
    35 */
       
    36 void searchextention_stub::SetSupported(TVIMPSTEnums::FeatureSupport /*aSupported*/ )
       
    37 {
       
    38 	
       
    39 }
       
    40 
       
    41 
       
    42 /**
       
    43 * Type of the Extention Feature
       
    44 * @return TVIMPSTEnums::ExtentionType defined in tvimpstenums.h
       
    45 */
       
    46 
       
    47 TVIMPSTEnums::ExtentionType searchextention_stub::Type() const
       
    48 {
       
    49 	return TVIMPSTEnums::ESearch;
       
    50 }
       
    51 
       
    52 void searchextention_stub::RegisterObserver(MVIMPSTEngineSearchExtentionEventObserver* /*aObserver*/)
       
    53 {
       
    54 	
       
    55 }
       
    56 
       
    57 
       
    58 void  searchextention_stub::UnRegisterObserver(MVIMPSTEngineSearchExtentionEventObserver* /*aObserver*/ ) 
       
    59 {
       
    60 	
       
    61 }
       
    62 
       
    63 TInt searchextention_stub::SearchContactsL( RArray<TVIMPSTSearchKeyData>& /*aKeyDataArray*/ ) 
       
    64 {
       
    65 	return 1;
       
    66 }
       
    67  
       
    68 TInt searchextention_stub::SubscribeForSearchKeysL() 
       
    69 {
       
    70 	return 1;
       
    71 }
       
    72 
       
    73 
       
    74 //end of file