1 /* |
1 /* |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2008 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 __FSMAILCLIENT_H |
20 #define __FSMAILCLIENT_H |
21 |
21 |
22 #include <e32std.h> |
22 #include <e32std.h> |
23 #include <e32base.h> |
23 #include <e32base.h> |
24 |
24 |
25 #include "cfsmailclient.hrh" |
25 #include "CFSMailClient.hrh" |
26 #include "cemailextensionbase.h" |
26 #include "cemailextensionbase.h" |
27 |
27 |
28 #include "mfsmailbrandmanager.h" |
28 //<cmail> |
29 #include "cfsmailplugin.h" |
29 #include "MFSMailBrandManager.h" |
30 |
30 #include "CFSMailPlugin.h" |
|
31 //</cmail> |
31 |
32 |
32 class CFSFWImplementation; |
33 class CFSFWImplementation; |
33 class CFSMailPluginManager; |
34 class CFSMailPluginManager; |
34 |
35 |
35 /** |
36 /** |
387 * |
388 * |
388 * @param aMailboxId mailbox id |
389 * @param aMailboxId mailbox id |
389 * @param aMailboxName new name for the mailbox |
390 * @param aMailboxName new name for the mailbox |
390 */ |
391 */ |
391 IMPORT_C void SetMailboxName( const TFSMailMsgId aMailboxId, const TDesC& aMailboxName ); |
392 IMPORT_C void SetMailboxName( const TFSMailMsgId aMailboxId, const TDesC& aMailboxName ); |
|
393 |
|
394 |
|
395 //<qmail> |
|
396 /** |
|
397 * increments reference count to framework singleton |
|
398 * visibility change to public by Qmail |
|
399 */ |
|
400 IMPORT_C TInt IncReferenceCount(); |
|
401 //</qmail> |
392 |
402 |
|
403 |
393 /** |
404 /** |
394 * Prepares and sets the MR description by converting HTML body to Plain text |
405 * Prepares and sets the MR description by converting HTML body to Plain text |
395 * |
406 * |
396 * @param aMailboxId mailbox id |
407 * @param aMailboxId mailbox id |
397 * @param aMessageId message id |
408 * @param aMessageId message id |
398 */ |
409 */ |
399 IMPORT_C virtual void PrepareMrDescriptionL( const TFSMailMsgId& aMailBoxId, |
410 IMPORT_C virtual void PrepareMrDescriptionL( const TFSMailMsgId& aMailBoxId, |
400 const TFSMailMsgId& aMessageId ); |
411 const TFSMailMsgId& aMessageId ); |
|
412 // <qmail> |
|
413 /** |
|
414 * Gets the signature for the given mailbox. |
|
415 * |
|
416 * @param aMailBoxId mailbox id |
|
417 */ |
|
418 IMPORT_C HBufC* GetSignatureL( const TFSMailMsgId& aMailBoxId ); |
|
419 // </qmail> |
|
420 |
401 public: // from CExtendableEmail |
421 public: // from CExtendableEmail |
402 |
422 |
403 /** |
423 /** |
404 * @see CExtendableEmail::ReleaseExtension |
424 * @see CExtendableEmail::ReleaseExtension |
405 */ |
425 */ |
437 * returns framework singleton instance if exists |
457 * returns framework singleton instance if exists |
438 */ |
458 */ |
439 static CFSMailClient* Instance(); |
459 static CFSMailClient* Instance(); |
440 |
460 |
441 /** |
461 /** |
442 * increments reference count to framework singleton |
|
443 */ |
|
444 TInt IncReferenceCount(); |
|
445 |
|
446 /** |
|
447 * decrements reference count to framework singleton |
462 * decrements reference count to framework singleton |
448 */ |
463 */ |
449 TInt DecReferenceCount(); |
464 TInt DecReferenceCount(); |
450 |
465 |
451 private: // data |
466 private: // data |