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_engineextentionfeatures.h" |
|
19 #include "tvimpstenums.h" |
|
20 |
|
21 MVIMPSTEngineExtentionFeatures* extentionfeatures_stub::NewL() |
|
22 { |
|
23 MVIMPSTEngineExtentionFeatures * extFeature = new(ELeave) extentionfeatures_stub; |
|
24 return extFeature ; |
|
25 } |
|
26 |
|
27 TVIMPSTEnums::FeatureSupport extentionfeatures_stub::IsSupported() const |
|
28 { |
|
29 return TVIMPSTEnums::ESupported; |
|
30 } |
|
31 |
|
32 /** |
|
33 * SetSupported |
|
34 * @param TVIMPSTEnums::FeatureSupport defined in tvimpstenums.h |
|
35 */ |
|
36 void extentionfeatures_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 extentionfeatures_stub::Type() const |
|
48 { |
|
49 return TVIMPSTEnums::EContactManagement; |
|
50 } |
|
51 |
|
52 /* |
|
53 MVIMPSTEngineContactMgmtExtention& extentionfeatures_stub::Cast( |
|
54 MVIMPSTEngineExtentionFeatures& aExtentionFeature) |
|
55 { |
|
56 __ASSERT_ALWAYS( aExtentionFeature.Type() == TVIMPSTEnums::EServerContactManagement, |
|
57 User::Panic(KErrNotFound) ); |
|
58 return static_cast<MVIMPSTEngineContactMgmtExtention&>(aExtentionFeature); |
|
59 } |
|
60 |
|
61 |
|
62 const MVIMPSTEngineContactMgmtExtention& extentionfeatures_stub::Cast( |
|
63 const MVIMPSTEngineExtentionFeatures& aExtentionFeature) |
|
64 { |
|
65 __ASSERT_ALWAYS( aExtentionFeature.Type() == TVIMPSTEnums::EServerContactManagement, |
|
66 User::Panic(KErrNotFound) ); |
|
67 return static_cast<const MVIMPSTEngineContactMgmtExtention&>(aExtentionFeature); |
|
68 } |
|
69 */ |
|
70 |
|
71 |
|
72 TInt extentionfeatures_stub::AddServerContactL(const TDesC& /*aContactList*/, |
|
73 const TDesC& aUserId,const TDesC& /*aNickname*/,TBool /*aWaitToComplete */ ) |
|
74 { |
|
75 return KErrNotFound; |
|
76 } |
|
77 |
|
78 |
|
79 TInt extentionfeatures_stub::DeleteServerContactL( const TDesC& /*aContactListId*/, |
|
80 const TDesC& /*aUserId*/ ) |
|
81 { |
|
82 return KErrNotFound; |
|
83 } |
|
84 |
|
85 |
|
86 //end of file |
|