meetingrequest/mrgui/mrfieldbuilderpluginextension/inc/resmrpluginextensionstatic.h
equal
deleted
inserted
replaced
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". |
19 #ifndef RESMRPLUGINEXTENSIONSTATIC_H |
19 #ifndef RESMRPLUGINEXTENSIONSTATIC_H |
20 #define RESMRPLUGINEXTENSIONSTATIC_H |
20 #define RESMRPLUGINEXTENSIONSTATIC_H |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 //<cmail> |
23 //<cmail> |
24 #include "cfsmailclient.h" |
24 #include "CFSMailClient.h" |
25 //</cmail> |
25 //</cmail> |
26 |
26 |
27 class TESMRPluginExtensionData; |
27 class TESMRPluginExtensionData; |
28 |
28 |
29 /* |
29 /* |
51 /* |
51 /* |
52 * Closes this instance of static data handler. |
52 * Closes this instance of static data handler. |
53 */ |
53 */ |
54 void Close(); |
54 void Close(); |
55 |
55 |
56 /* |
56 /** |
57 * Returns global instance of default CFSMailBox. |
57 * Returns global instance of default CFSMailBox. |
58 * @param aForceReset If ETrue, the default FS mailbox is reset |
|
59 * before returning it. |
|
60 * @return Reference to CFSMailBox object |
58 * @return Reference to CFSMailBox object |
61 */ |
59 */ |
62 CFSMailBox& DefaultFSMailBoxL( TBool aForceReset = EFalse ); |
60 CFSMailBox& DefaultFSMailBoxL(); |
63 |
61 |
|
62 /** |
|
63 * Returns mail box instance for given email address. |
|
64 * Ownership of mail box is transferred to caller. |
|
65 * |
|
66 * @param aEmailAddress email address of the desired mail box |
|
67 * @return CFSMailBox instance. Ownership is transferred to caller. |
|
68 */ |
|
69 CFSMailBox* MailBoxL( const TDesC& aEmailAddress ); |
64 |
70 |
65 private: // Implementation |
71 private: // Implementation |
66 |
72 |
67 /** |
73 /** |
68 * Returns global instance of CFSMailClient |
74 * Returns global instance of CFSMailClient |