| Start/ | End/ | |||
| True | False | - | Line | Source |
| 1 | /* | |||
| 2 | * ============================================================================ | |||
| 3 | * Name : s_engineextentionfeatures.cpp | |||
| 4 | * Part of : | |||
| 5 | * Description : | |||
| 6 | * Version : %version: 2 % | |||
| 7 | * | |||
| 8 | * Copyright © 2006, 2007 Nokia. All rights reserved. | |||
| 9 | * This material, including documentation and any related computer | |||
| 10 | * programs, is protected by copyright controlled by Nokia. All | |||
| 11 | * rights are reserved. Copying, including reproducing, storing, | |||
| 12 | * adapting or translating, any or all of this material requires the | |||
| 13 | * prior written consent of Nokia. This material also contains | |||
| 14 | * confidential information which may not be disclosed to others | |||
| 15 | * without the prior written consent of Nokia. | |||
| 16 | * ============================================================================ | |||
| 17 | * Template version: 4.1 | |||
| 18 | */ | |||
| 19 | ||||
| 20 | #include "s_enginesearchextention.h" | |||
| 21 | #include "tvimpstenums.h" | |||
| 22 | ||||
| 4 | 0 | 23 | MVIMPSTEngineSearchMgrExtention* searchextention_stub::NewL() | |
| 24 | { | |||
| 25 | MVIMPSTEngineSearchMgrExtention* extFeature = new(ELeave) searchextention_stub; | |||
| 26 | return extFeature ; | |||
| 27 | } | |||
| 28 | ||||
| 0 | 0 | - | 29 | TVIMPSTEnums::FeatureSupport searchextention_stub::IsSupported() const |
| 30 | { | |||
| 31 | return TVIMPSTEnums::ESupported; | |||
| 32 | } | |||
| 33 | ||||
| 34 | /** | |||
| 35 | * SetSupported | |||
| 36 | * @param TVIMPSTEnums::FeatureSupport defined in tvimpstenums.h | |||
| 37 | */ | |||
| 0 | 0 | - | 38 | void searchextention_stub::SetSupported(TVIMPSTEnums::FeatureSupport /*aSupported*/ ) |
| 39 | { | |||
| 40 | ||||
| 41 | } | |||
| 42 | ||||
| 43 | ||||
| 44 | /** | |||
| 45 | * Type of the Extention Feature | |||
| 46 | * @return TVIMPSTEnums::ExtentionType defined in tvimpstenums.h | |||
| 47 | */ | |||
| 48 | ||||
| 4 | 0 | 49 | TVIMPSTEnums::ExtentionType searchextention_stub::Type() const | |
| 50 | { | |||
| 51 | return TVIMPSTEnums::ESearch; | |||
| 52 | } | |||
| 53 | ||||
| 0 | 0 | - | 54 | void searchextention_stub::RegisterObserver(MVIMPSTEngineSearchExtentionEventObserver* /*aObserver*/) |
| 55 | { | |||
| 56 | ||||
| 57 | } | |||
| 58 | ||||
| 59 | ||||
| 0 | 0 | - | 60 | void searchextention_stub::UnRegisterObserver(MVIMPSTEngineSearchExtentionEventObserver* /*aObserver*/ ) |
| 61 | { | |||
| 62 | ||||
| 63 | } | |||
| 64 | ||||
| 4 | 0 | 65 | TInt searchextention_stub::SearchContactsL( RArray<TVIMPSTSearchKeyData>& /*aKeyDataArray*/ ) | |
| 66 | { | |||
| 67 | return 1; | |||
| 68 | } | |||
| 69 | ||||
| 0 | 0 | - | 70 | TInt searchextention_stub::SubscribeForSearchKeysL() |
| 71 | { | |||
| 72 | return 1; | |||
| 73 | } | |||
| 74 | ||||
| 75 | ||||
| 76 | //end of file | |||
| ***TER 38% (3/8) of SOURCE FILE s_enginesearchextention.cpp | ||||