fotaapplication/fotaserver/FotaServer/inc/fotaupdate.h
branchRCL_3
changeset 9 57a65a3a658c
parent 0 b497e44ab2fc
equal deleted inserted replaced
5:3f7d9dbe57c8 9:57a65a3a658c
   198 	/** The interval is based on years. */
   198 	/** The interval is based on years. */
   199 	EYearly,
   199 	EYearly,
   200     /**Show the No reminder             */  
   200     /**Show the No reminder             */  
   201 	ENoReminderOn,
   201 	ENoReminderOn,
   202 	/**Show the No reminder             */   
   202 	/**Show the No reminder             */   
   203     ENoReminderOff
   203     ENoReminderOff,
       
   204     /* Added for postpone limit, When All the postpones are used and user presses end key this command is sent */
       
   205     EEndKeyReminder
   204 	};
   206 	};
   205 
   207 
   206 private:
   208 private:
   207 
   209 
   208     CFotaUpdate ();
   210     CFotaUpdate ();
   249      * @since   S60   v5.0
   251      * @since   S60   v5.0
   250      * @param   None
   252      * @param   None
   251      * @return  None
   253      * @return  None
   252      */
   254      */
   253     void GetSchedulesInfoL();
   255     void GetSchedulesInfoL();
       
   256     
       
   257     /**
       
   258      * DisplayInstallationNoteType determines the proper installation note based on the Cenrep keys.
       
   259      *
       
   260      * @since   S60   v5.0
       
   261      * @param   None
       
   262      * @return  None
       
   263      */
       
   264     void DisplayInstallationNoteTypeL();
   254 
   265 
   255 
   266 
   256     /**
   267     /**
   257      * Launch notifier for user to interact with
   268      * Launch notifier for user to interact with
   258      *
   269      *
   259      * @since   S60   v3.1
   270      * @since   S60   v3.1
   260      * @param   aNotetype
   271      * @param   aNotetype
   261      * @param   aIntparam
   272      * @param   aIntparam
   262      * @return  none
   273      * @return  none
   263      */
   274      */
   264     void LaunchNotifierL(  const TSyncMLFwUpdNoteTypes aNotetype , const TInt aIntParam, const TInt aEnc=EFalse );
   275     void LaunchNotifierL(  const TSyncMLFwUpdNoteTypes aNotetype , const TInt aIntParam,const TInt aEnc=EFalse);
       
   276     
       
   277     
       
   278     /**
       
   279      * Launch the postpone information note, when the postpone limit feature is enabled.
       
   280      *
       
   281      * @since   S60   v5.0
       
   282      * @param   aNotetype
       
   283      * @param   aIntparam
       
   284      * @param   aIntParam1
       
   285      * @param   aIntervalType
       
   286      * @param   aInterval
       
   287      * @return  none
       
   288      */
       
   289     void LaunchNotifierL( const TSyncMLFwUpdNoteTypes aNotetype,const TInt aIntParam,const TInt aIntParam1,TIntervalType aIntervalType,const TInt aInterval);
   265 
   290 
   266 	/**
   291 	/**
   267 	 * Prepare and display Reminder Dialog using RFotaReminderDlg
   292 	 * Prepare and display Reminder Dialog using RFotaReminderDlg
   268 	 * on radio button setting page
   293 	 * on radio button setting page
   269 	 * @since 	S60	  v3.1
   294 	 * @since 	S60	  v3.1
   275 	/**
   300 	/**
   276 	 * Create the Schedule 
   301 	 * Create the Schedule 
   277 	 * @since 	S60	  v3.1
   302 	 * @since 	S60	  v3.1
   278 	 *
   303 	 *
   279 	 * @param package id 
   304 	 * @param package id 
   280 	 * @param interval type
   305 	 * @param intervaltype
   281 	 * @param interval
   306 	 * @param interval
   282 	 * @return TInt 
   307 	 * @return TInt 
   283 	 */
   308 	 */
   284     TInt CreateScheduleL ( const TInt aPackageId
   309     TInt CreateScheduleL ( const TInt aPackageId
   285             ,const TIntervalType aIntervalType,const TInt aInterval);
   310             ,TIntervalType aIntervalType,const TInt aInterval);
   286             
   311             
   287             
   312             
   288   /**
   313   /**
   289 	 * Create the new Schedule 
   314 	 * Create the new Schedule 
   290 	 * @since 	S60	  v3.1
   315 	 * @since 	S60	  v3.1
   379 	
   404 	
   380 	/** 
   405 	/** 
   381 	* fota update reminder task
   406 	* fota update reminder task
   382 	*/
   407 	*/
   383 	TFotaScheduledUpdate* iScheduledUpdate;
   408 	TFotaScheduledUpdate* iScheduledUpdate;
   384 
       
   385 	/*
   409 	/*
   386 	 * flag to handle showing the reminder dialog twice.
   410 	 * flag to handle showing the reminder dialog twice.
   387 	 */
   411 	 */
   388 	TBool iHandleUpdateAcceptLater;
   412 	TBool iHandleUpdateAcceptLater;
   389 	
   413 	
   393 	TInt iChargeToMonitor;
   417 	TInt iChargeToMonitor;
   394 	
   418 	
   395 	/*
   419 	/*
   396 	 * to finalize update later
   420 	 * to finalize update later
   397 	 */
   421 	 */
   398 	TBool iFinalizeLater;
   422 	 
       
   423  	TBool iFinalizeLater;
       
   424 	 
       
   425 		/*
       
   426 	 * flag to enable the FOTA Update Postpone  limit feature.
       
   427 	 */
       
   428 	TInt iFOTAUICustomization;
       
   429 	
       
   430 	/*
       
   431 	 * To Store the number of postpones done by the user.
       
   432 	 */
       
   433 	TInt iFOTAUserPostponeCount;
       
   434 	
       
   435 	/*
       
   436 	 * To Store the maximum number of postpones allowed for the user.
       
   437 	 */
       
   438 	TInt iFOTAMaxPostponeCount;
       
   439 	
       
   440 	/*
       
   441 	 * To Get the Configuration values related to FOTA
       
   442 	 */
       
   443 	CRepository* iCentrep;
       
   444 	
   399     };
   445     };
   400 
   446 
   401 
   447 
   402 
   448 
   403 
   449