emailuis/emailui/inc/FreestyleEmailUiUtilities.h
branchRCL_3
changeset 11 0396474f30f5
parent 10 f5907b1a1053
child 18 6b8f3b30d0ec
equal deleted inserted replaced
10:f5907b1a1053 11:0396474f30f5
   110     static void ShowInfoNoteL( TInt aResourceStringId, TBool aWaitingDialog = EFalse );
   110     static void ShowInfoNoteL( TInt aResourceStringId, TBool aWaitingDialog = EFalse );
   111 	
   111 	
   112     static void ShowGlobalErrorNoteL( TInt aResourceStringId );
   112     static void ShowGlobalErrorNoteL( TInt aResourceStringId );
   113     static void ShowGlobalInfoNoteL( TInt aResourceStringId );
   113     static void ShowGlobalInfoNoteL( TInt aResourceStringId );
   114     static void ShowDiscreetInfoNoteL( TInt aResourceStringId );
   114     static void ShowDiscreetInfoNoteL( TInt aResourceStringId );
       
   115     static void ShowDiscreetInfoNoteL( const TDesC& aNoteText );    
       
   116      
   115     /**
   117     /**
   116     * Creates and shows a local wait note. Caller must pass a member variable pointer
   118     * Creates and shows a local wait note. Caller must pass a member variable pointer
   117     * which will hold the created wait note instance. This must NOT be an automatic variable.
   119     * which will hold the created wait note instance. This must NOT be an automatic variable.
   118     */
   120     */
   119     static void ShowWaitNoteL( CAknWaitDialog*& aDialog, TInt aTextResourceId, 
   121     static void ShowWaitNoteL( CAknWaitDialog*& aDialog, TInt aTextResourceId, 
   296     static void EraseTempDir();
   298     static void EraseTempDir();
   297     
   299     
   298     // Checks if FSMailServer is running. If not, then launches it.
   300     // Checks if FSMailServer is running. If not, then launches it.
   299     static void EnsureFsMailServerIsRunning( RWsSession& aWsSession );
   301     static void EnsureFsMailServerIsRunning( RWsSession& aWsSession );
   300     
   302     
       
   303     //
       
   304     static void SetDownloadSave( TBool aValue );    
       
   305     //
       
   306     static void SetSaveSelect( TBool aValue );      
   301 private:
   307 private:
   302     static TFSEmailUiTextures GetReadMsgIcon( CFSMailMessage* aMsgPtr );
   308     static TFSEmailUiTextures GetReadMsgIcon( CFSMailMessage* aMsgPtr );
   303     static TFSEmailUiTextures GetUnreadMsgIcon( CFSMailMessage* aMsgPtr );
   309     static TFSEmailUiTextures GetUnreadMsgIcon( CFSMailMessage* aMsgPtr );
   304     // <cmail>
   310     // <cmail>
   305     static TBool IsMrCancellationMsgL( CFSMailMessage* aMsgPtr );
   311     static TBool IsMrCancellationMsgL( CFSMailMessage* aMsgPtr );
   323     static void EnsureFsMailServerIsRunningL( RWsSession& aWsSession );
   329     static void EnsureFsMailServerIsRunningL( RWsSession& aWsSession );
   324 
   330 
   325 private: // static data
   331 private: // static data
   326     static CAknGlobalNote* iGlobalWaitNote;
   332     static CAknGlobalNote* iGlobalWaitNote;
   327     static CAknWaitDialog* iOpeningWaitNote;
   333     static CAknWaitDialog* iOpeningWaitNote;
       
   334     static TBool iSaveSelect;
       
   335     static TBool iDownloadSave;
   328     
   336     
   329     // <cmail>
   337     // <cmail>
   330     // A separate MR viewer instance for checking the MR method type.
   338     // A separate MR viewer instance for checking the MR method type.
   331     // The instance owned by AppUi can't be used for this because that instance
   339     // The instance owned by AppUi can't be used for this because that instance
   332     // may be in use at time we need to check the method.
   340     // may be in use at time we need to check the method.