syncmlfw/syncmlnotifier/inc/SyncMLFwUpdNotifier.h
branchRCL_3
changeset 9 57a65a3a658c
parent 0 b497e44ab2fc
equal deleted inserted replaced
5:3f7d9dbe57c8 9:57a65a3a658c
   109         * user to encrypt memory 
   109         * user to encrypt memory 
   110         * @param None
   110         * @param None
   111         * @return Result to the query
   111         * @return Result to the query
   112         */
   112         */
   113         TInt ShowUpdateResultWithEncryptionNoteL();
   113         TInt ShowUpdateResultWithEncryptionNoteL();
       
   114 		
       
   115 		
       
   116 		/**
       
   117         * Informs the user about the firmware update and its consequences.
       
   118         * Queries if the user wants to continue with the update.
       
   119         * It also makes sure that the number of postpones the user does
       
   120         * does not exceed the maximum allowed postpones.
       
   121         * @param queryType - Which tells the type of query to be shown.
       
   122         * @return Result to the query
       
   123         */
       
   124         TInt ShowPostLimitUpdateStartQueryL(TInt queryType);
   114 
   125 
   115         /**
   126         /**
   116         * Retrieves the profile name using the profile identifier stored
   127         * Retrieves the profile name using the profile identifier stored
   117         * in iNoteInfo.
   128         * in iNoteInfo.
   118         * @param aServerName Returns the clear-text name of the corresponding server.
   129         * @param aServerName Returns the clear-text name of the corresponding server.
   150 		     * @param None
   161 		     * @param None
   151          * @return Result to the query
   162          * @return Result to the query
   152  	       */
   163  	       */
   153 				TInt ShowDownloadCancelledL();
   164 				TInt ShowDownloadCancelledL();
   154 		
   165 		
       
   166 				/*Message note shown to the user when ever 
       
   167 				 * the user postpones the update 
       
   168 				 * @param None
       
   169 				 * @return Result to the query
       
   170 				 */
       
   171 				TInt ShowPostponeLimitNoteL();
       
   172 
   155 				/*Message note shown to the user when ever 
   173 				/*Message note shown to the user when ever 
   156 				 * the user wants to resume the download.
   174 				 * the user wants to resume the download.
   157 		     * @param None
   175 		     * @param None
   158          * @return Result to the query
   176          * @return Result to the query
   159  	       */
   177  	       */
   216         
   234         
   217         //Memory needed for the for the fota update package to be downloaded
   235         //Memory needed for the for the fota update package to be downloaded
   218 //        #ifdef RD_FOTA_FLEXIBLE_MEMORY_USAGE
   236 //        #ifdef RD_FOTA_FLEXIBLE_MEMORY_USAGE
   219         TInt        iFotaMemoryNeeded;
   237         TInt        iFotaMemoryNeeded;
   220 //        #endif
   238 //        #endif
       
   239         // The Number of times user has postponed the update.
       
   240         TInt iUserPostponeCount;
       
   241         
       
   242         // The Maximum number of times update can be postponed.
       
   243         TInt iMaxPostponeCount;
       
   244         
       
   245         // The option Selected by the user to postpone the update.
       
   246         TBuf<KSyncMLMaxServerMsgLength>    iSelectedReminder;
   221         //Checks whether dialog from RUNL popped and waiting for user input
   247         //Checks whether dialog from RUNL popped and waiting for user input
   222         TBool iRunLhang;
   248         TBool iRunLhang;
   223         
   249         
   224         //Reference to the Dialog launched from RunL
   250         //Reference to the Dialog launched from RunL
   225         CSyncMLMessageQueryDialog* iDlg;
   251         CSyncMLMessageQueryDialog* iDlg;
   226         
   252         
   227 		//To decide on encryption note or default note.
   253 		//To decide on encryption note or default note.
   228         TBool iFotaEncryptReq;
   254         TBool iFotaEncryptReq;
       
   255         
       
   256       // The time interval chosen by the user to postpone the update.
       
   257       TInt iInterval;
       
   258       
       
   259       // The time interval type(in hours or minutes)chosen by the user to postpone the update.
       
   260       TIntervalType iIntervalType;
   229 
   261 
   230     };
   262     };
   231 
   263 
   232 
   264 
   233 #endif      // CSYNCMLFWUPDNOTIFIER_H   
   265 #endif      // CSYNCMLFWUPDNOTIFIER_H