1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
20 #define __CESMRFIELDBUILDERPLUGINEXTENSION__ |
20 #define __CESMRFIELDBUILDERPLUGINEXTENSION__ |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include "cesmrfieldbuilderinterface.h" |
23 #include "cesmrfieldbuilderinterface.h" |
24 #include "resmrpluginextensionstatic.h" |
24 #include "resmrpluginextensionstatic.h" |
|
25 |
|
26 class CFSMailBox; |
25 |
27 |
26 /** |
28 /** |
27 * This class implements most of the field builder composite. |
29 * This class implements most of the field builder composite. |
28 * All Freestyle email related MRUI fields are built here |
30 * All Freestyle email related MRUI fields are built here |
29 */ |
31 */ |
71 MESMRResponseObserver* aResponseObserver, |
73 MESMRResponseObserver* aResponseObserver, |
72 TESMREntryField aField, |
74 TESMREntryField aField, |
73 TBool aResponseReady ); |
75 TBool aResponseReady ); |
74 |
76 |
75 protected: //from MESMRBuilderExtension |
77 protected: //from MESMRBuilderExtension |
76 TBool CFSMailBoxCapabilityL( EMRCFSMailBoxCapability aCapa ); |
78 TBool CFSMailBoxCapabilityL( TMRCFSMailBoxCapability aCapa ); |
77 TBool MRCanBeOriginateedL( TBool aForceResetDefaultMRMailbox ); |
79 TBool CFSMailBoxCapabilityL( |
|
80 const TDesC& aEmailAddress, |
|
81 TMRCFSMailBoxCapability aCapa ); |
|
82 TBool MRCanBeOriginateedL(); |
78 |
83 |
79 private: // Implementation |
84 private: // Implementation |
80 CESMRFieldBuilderPluginExtension(); |
85 CESMRFieldBuilderPluginExtension(); |
81 void ConstructL(); |
86 void ConstructL(); |
82 |
87 TBool HasCapability( const CFSMailBox& aMailBox, |
|
88 MESMRBuilderExtension::TMRCFSMailBoxCapability aCapability ) const; |
|
89 |
83 /** |
90 /** |
84 * Access CFSmailbox TLS static |
91 * Access CFSmailbox TLS static |
85 */ |
92 */ |
86 RESMRPluginExtensionStatic iESMRStatic; |
93 RESMRPluginExtensionStatic iESMRStatic; |
87 |
94 |