| Start/ | End/ | |||
| True | False | - | Line | Source |
| 1 | /* | |||
| 2 | * ============================================================================ | |||
| 3 | * Name : s_engineextentionfeatures.cpp | |||
| 4 | * Part of : | |||
| 5 | * Description : | |||
| 6 | * Version : %version: 1 % | |||
| 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_engineextentionfeatures.h" | |||
| 21 | #include "tvimpstenums.h" | |||
| 22 | ||||
| 8 | 0 | 23 | MVIMPSTEngineExtentionFeatures* extentionfeatures_stub::NewL() | |
| 24 | { | |||
| 25 | MVIMPSTEngineExtentionFeatures * extFeature = new(ELeave) extentionfeatures_stub; | |||
| 8 | 26 | return extFeature ; | ||
| 27 | } | |||
| 28 | ||||
| 0 | 0 | - | 29 | TVIMPSTEnums::FeatureSupport extentionfeatures_stub::IsSupported() const |
| 30 | { | |||
| 0 | - | 31 | return TVIMPSTEnums::ESupported; | |
| 32 | } | |||
| 33 | ||||
| 34 | /** | |||
| 35 | * SetSupported | |||
| 36 | * @param TVIMPSTEnums::FeatureSupport defined in tvimpstenums.h | |||
| 37 | */ | |||
| 0 | 0 | - | 38 | void extentionfeatures_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 | ||||
| 8 | 0 | 49 | TVIMPSTEnums::ExtentionType extentionfeatures_stub::Type() const | |
| 50 | { | |||
| 8 | 51 | return TVIMPSTEnums::EContactManagement; | ||
| 52 | } | |||
| 53 | ||||
| 54 | /* | |||
| 55 | MVIMPSTEngineContactMgmtExtention& extentionfeatures_stub::Cast( | |||
| 56 | MVIMPSTEngineExtentionFeatures& aExtentionFeature) | |||
| 57 | { | |||
| 58 | __ASSERT_ALWAYS( aExtentionFeature.Type() == TVIMPSTEnums::EServerContactManagement, | |||
| 59 | User::Panic(KErrNotFound) ); | |||
| 60 | return static_cast<MVIMPSTEngineContactMgmtExtention&>(aExtentionFeature); | |||
| 61 | } | |||
| 62 | ||||
| 63 | ||||
| 64 | const MVIMPSTEngineContactMgmtExtention& extentionfeatures_stub::Cast( | |||
| 65 | const MVIMPSTEngineExtentionFeatures& aExtentionFeature) | |||
| 66 | { | |||
| 67 | __ASSERT_ALWAYS( aExtentionFeature.Type() == TVIMPSTEnums::EServerContactManagement, | |||
| 68 | User::Panic(KErrNotFound) ); | |||
| 69 | return static_cast<const MVIMPSTEngineContactMgmtExtention&>(aExtentionFeature); | |||
| 70 | } | |||
| 71 | */ | |||
| 72 | ||||
| 73 | ||||
| 8 | 0 | 74 | TInt extentionfeatures_stub::AddServerContactL(const TDesC& /*aContactList*/, | |
| 75 | const TDesC& aUserId,const TDesC& /*aNickname*/,TBool /*aWaitToComplete */ ) | |||
| 76 | { | |||
| 8 | 77 | return KErrNotFound; | ||
| 78 | } | |||
| 79 | ||||
| 80 | ||||
| 0 | 0 | - | 81 | TInt extentionfeatures_stub::DeleteServerContactL( const TDesC& /*aContactListId*/, |
| 82 | const TDesC& /*aUserId*/ ) | |||
| 83 | { | |||
| 0 | - | 84 | return KErrNotFound; | |
| 85 | } | |||
| 86 | ||||
| 87 | ||||
| 88 | //end of file | |||
| ***TER 55% (6/11) of SOURCE FILE s_engineextentionfeatures.cpp | ||||