equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007 - 2010 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". |
500 // Runs fake sync animation (needed for better user experience as |
500 // Runs fake sync animation (needed for better user experience as |
501 // otherwise in some connection/sync states pressing "send & receive" |
501 // otherwise in some connection/sync states pressing "send & receive" |
502 // wouldn't have any visible effect. |
502 // wouldn't have any visible effect. |
503 void RunFakeSyncAnimL(); |
503 void RunFakeSyncAnimL(); |
504 |
504 |
|
505 // Sets text to navi pane |
|
506 void SetNaviPaneTextL( const TDesC& aText ); |
|
507 |
505 public: //from MFSMailEventObserver |
508 public: //from MFSMailEventObserver |
506 /** |
509 /** |
507 * Framework event message. |
510 * Framework event message. |
508 * Used here to catch the events thrown from new mailbox creation process. |
511 * Used here to catch the events thrown from new mailbox creation process. |
509 * |
512 * |
536 * StopEndKeyCapture |
539 * StopEndKeyCapture |
537 * Stop key capture for end-key |
540 * Stop key capture for end-key |
538 */ |
541 */ |
539 void StopEndKeyCapture(); |
542 void StopEndKeyCapture(); |
540 |
543 |
541 /** |
|
542 * Accessor for navipane decorator object. |
|
543 * @param aViewId: Caller identify itself by giving the view Id (see FreestyleEmailUiConstants.h) |
|
544 * This is used for choosing correct decorator. |
|
545 * @return instance of correct navidecorator. NULL if aView doesn't match. |
|
546 */ |
|
547 CAknNavigationDecorator* NaviDecoratorL( const TUid aViewId ); |
|
548 |
|
549 public: |
544 public: |
550 |
545 |
551 /** |
546 /** |
552 * From MFSEmailUiGenericTimerCallback. |
547 * From MFSEmailUiGenericTimerCallback. |
553 * Generic timer event callback. |
548 * Generic timer event callback. |
611 static TInt DisplayCreateQueryL( TAny* aSelfPtr ); |
606 static TInt DisplayCreateQueryL( TAny* aSelfPtr ); |
612 void DisplayCreateMailboxQueryL(); |
607 void DisplayCreateMailboxQueryL(); |
613 |
608 |
614 // Send self to background. |
609 // Send self to background. |
615 void SendToBackground(); |
610 void SendToBackground(); |
616 |
|
617 /* |
|
618 * Called from ConstructL during start of application. |
|
619 * Constructs navipane(s) that are used by different views. |
|
620 */ |
|
621 void ConstructNaviPaneL(); |
|
622 |
611 |
623 // Create custom status pane indicators. (priority and followup) |
612 // Create custom status pane indicators. (priority and followup) |
624 void CreateStatusPaneIndicatorsL(); |
613 void CreateStatusPaneIndicatorsL(); |
625 // Delete custom status pane indicators |
614 // Delete custom status pane indicators |
626 void DeleteStatusPaneIndicators(); |
615 void DeleteStatusPaneIndicators(); |
794 |
783 |
795 // Exit guardian. |
784 // Exit guardian. |
796 CEUiExitGuardian* iExitGuardian; |
785 CEUiExitGuardian* iExitGuardian; |
797 |
786 |
798 // navipane decorator |
787 // navipane decorator |
799 // (used at least in mail viewer) |
788 CAknNavigationDecorator* iNaviDecorator; |
800 CAknNavigationDecorator* iNaviDecorator2MailViewer; |
|
801 |
789 |
802 // Resource file offset for message editor external resources |
790 // Resource file offset for message editor external resources |
803 TInt iMsgEditorResourceOffset; |
791 TInt iMsgEditorResourceOffset; |
804 |
792 |
805 // Resource file offset for FSMailServer external resources |
793 // Resource file offset for FSMailServer external resources |