|
|
|
|
Location:
SCHINFO.H
Link against: schsvr.lib
class TScheduleState2;
Defines the state of a schedule.
An object of this type is passed to, and populated by, a call to RScheduler::GetScheduleL().
Defined in TScheduleState2:
DueTime(), Enabled(), Name(), Persists(), SetDueTime(), SetEnabled(), SetName(), SetPersists(), TScheduleState2(), TScheduleState2(), TScheduleState2(), operator=()
IMPORT_C TScheduleState2();
Default Constructor for TScheduleState2. By default, this state: has an empty string name, is non persistent, non enabled and its due time is set to zero.
IMPORT_C TScheduleState2(const TScheduleState2 &aScheduleState);
Copy constructor for TScheduleState2
|
IMPORT_C TScheduleState2(const TName &aName, const TTsTime &aDueTime, TBool aPersists, TBool aEnabled);
Constructor taking the specified parameters.
|
IMPORT_C void SetName(const TName &aName);
Sets the name of the schedule
|
IMPORT_C const TTsTime &DueTime() const;
Returns the time when the schedule is next due.
|
IMPORT_C void SetDueTime(const TTsTime &aDueTime);
Sets the time when the schedule is next due.
|
IMPORT_C TBool Persists() const;
Returns a boolean whether this schedule perists or not.
|
IMPORT_C void SetPersists(TBool aPersists);
Sets a boolean whether this schedule perists or not.
|
IMPORT_C TBool Enabled() const;
Returns information on whether this schedule is enabled or not.
|
IMPORT_C void SetEnabled(TBool aEnabled);
Sets information on whether this schedule is enabled or not.
|
IMPORT_C TScheduleState2 &operator=(const TScheduleState2 &aScheduleState);
Assigns a TScheduleState2 to this object.
|
|