equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007 - 2010 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007 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 |
|
508 public: //from MFSMailEventObserver |
505 public: //from MFSMailEventObserver |
509 /** |
506 /** |
510 * Framework event message. |
507 * Framework event message. |
511 * Used here to catch the events thrown from new mailbox creation process. |
508 * Used here to catch the events thrown from new mailbox creation process. |
512 * |
509 * |
539 * StopEndKeyCapture |
536 * StopEndKeyCapture |
540 * Stop key capture for end-key |
537 * Stop key capture for end-key |
541 */ |
538 */ |
542 void StopEndKeyCapture(); |
539 void StopEndKeyCapture(); |
543 |
540 |
|
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 |
544 public: |
549 public: |
545 |
550 |
546 /** |
551 /** |
547 * From MFSEmailUiGenericTimerCallback. |
552 * From MFSEmailUiGenericTimerCallback. |
548 * Generic timer event callback. |
553 * Generic timer event callback. |
606 static TInt DisplayCreateQueryL( TAny* aSelfPtr ); |
611 static TInt DisplayCreateQueryL( TAny* aSelfPtr ); |
607 void DisplayCreateMailboxQueryL(); |
612 void DisplayCreateMailboxQueryL(); |
608 |
613 |
609 // Send self to background. |
614 // Send self to background. |
610 void SendToBackground(); |
615 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(); |
611 |
622 |
612 // Create custom status pane indicators. (priority and followup) |
623 // Create custom status pane indicators. (priority and followup) |
613 void CreateStatusPaneIndicatorsL(); |
624 void CreateStatusPaneIndicatorsL(); |
614 // Delete custom status pane indicators |
625 // Delete custom status pane indicators |
615 void DeleteStatusPaneIndicators(); |
626 void DeleteStatusPaneIndicators(); |
783 |
794 |
784 // Exit guardian. |
795 // Exit guardian. |
785 CEUiExitGuardian* iExitGuardian; |
796 CEUiExitGuardian* iExitGuardian; |
786 |
797 |
787 // navipane decorator |
798 // navipane decorator |
788 CAknNavigationDecorator* iNaviDecorator; |
799 // (used at least in mail viewer) |
|
800 CAknNavigationDecorator* iNaviDecorator2MailViewer; |
789 |
801 |
790 // Resource file offset for message editor external resources |
802 // Resource file offset for message editor external resources |
791 TInt iMsgEditorResourceOffset; |
803 TInt iMsgEditorResourceOffset; |
792 |
804 |
793 // Resource file offset for FSMailServer external resources |
805 // Resource file offset for FSMailServer external resources |