profilesservices/ProfileEngine/EngSrc/CProfileTiming.h
branchRCL_3
changeset 13 23553eb4e470
parent 12 c8b9b0986973
equal deleted inserted replaced
12:c8b9b0986973 13:23553eb4e470
    60          * Times the profile with the given ID.
    60          * Times the profile with the given ID.
    61          * @param aPreviousId the ID of the profile to be activated after the
    61          * @param aPreviousId the ID of the profile to be activated after the
    62          *        timer expires. This is the profile which was active before
    62          *        timer expires. This is the profile which was active before
    63          *        the current profile was timed.
    63          *        the current profile was timed.
    64          * @param aTime the time when the timer expires.
    64          * @param aTime the time when the timer expires.
    65 		 * @param aPreviousName the Name of the profile to be activated after the
       
    66          *        timer expires. This is the profile which was active before
       
    67          *        the current profile was timed.
       
    68          */
    65          */
    69         void SetTimedProfileL( TInt aPreviousId, TTime aTime, const TDesC& aPreviousName = KNullDesC );
    66         void SetTimedProfileL( TInt aPreviousId, TTime aTime );
    70 
    67 
    71         /**
    68         /**
    72          * Deletes the newly-scheduled task for timed profile. This is used
    69          * Deletes the newly-scheduled task for timed profile. This is used
    73          * only when update to Central Repository has failed. Does not return
    70          * only when update to Central Repository has failed. Does not return
    74          * any error codes or leave because this will be called only in error
    71          * any error codes or leave because this will be called only in error
    99          * @param aPreviousId the ID of the profile which was active before the
    96          * @param aPreviousId the ID of the profile which was active before the
   100          *        timed profile. This is the profile which should be reactivated
    97          *        timed profile. This is the profile which should be reactivated
   101          *        when the timer goes off.
    98          *        when the timer goes off.
   102          * @param aHandleId the scheduling handle ID of the timed profile task.
    99          * @param aHandleId the scheduling handle ID of the timed profile task.
   103          * @param aTaskId the task ID of the timed profile task.
   100          * @param aTaskId the task ID of the timed profile task.
   104 		 * @param aPreviousName the previous name of the timed profile task.
       
   105          */
   101          */
   106         void SaveSchedulingData( TInt aPreviousId = -1,
   102         void SaveSchedulingData( TInt aPreviousId = -1,
   107                                  TInt aHandleId = -1,
   103                                  TInt aHandleId = -1,
   108                                  TInt aTaskId = -1,
   104                                  TInt aTaskId = -1 );
   109                                  const TDesC& aPreviousName = KNullDesC );
       
   110 
   105 
   111         /**
   106         /**
   112          * Gets the information about current timed profile from Central
   107          * Gets the information about current timed profile from Central
   113          * Repository.
   108          * Repository.
   114          * @param aPreviousId contains the ID of the profile which should be
   109          * @param aPreviousId contains the ID of the profile which should be