class TApaTaskList |
Accesses tasks running on a device.
Tasks can be identified by document, application specific UID or by caption name.
Users of this class can also cycle through a set of tasks running a specific application, bringing each one, in turn, into the foreground.
Public Member Functions | |
---|---|
TApaTaskList(RWsSession &) | |
IMPORT_C TInt | CycleTasks(TUid, TCycleDirection) |
IMPORT_C TApaTask | FindApp(const TDesC &) |
IMPORT_C TApaTask | FindApp(TUid) |
IMPORT_C TApaTask | FindByPos(TInt) |
IMPORT_C TApaTask | FindDoc(const TDesC &) |
Private Member Functions | |
---|---|
void | FindByPosL(TApaTask &, TInt) |
Public Member Enumerations | |
---|---|
enum | TCycleDirection { EForwards, EBackwards } |
Private Attributes | |
---|---|
TInt | iTApaTaskList_Reserved1 |
RWsSession & | iWsSession |
IMPORT_C | TApaTaskList | ( | RWsSession & | aWsSession | ) |
RWsSession & aWsSession |
IMPORT_C TInt | CycleTasks | ( | TUid | aAppUid, |
TCycleDirection | aDirection = EForwards | |||
) |
TUid aAppUid | |
TCycleDirection aDirection = EForwards |
IMPORT_C TApaTask | FindApp | ( | const TDesC & | aAppName | ) |
const TDesC & aAppName |
IMPORT_C TApaTask | FindDoc | ( | const TDesC & | aDocName | ) |
const TDesC & aDocName |
Defines the direction in which tasks are cycled to the foreground. This is used by the CycleTasks() function.
EForwards |
Cycles the task list forwards, i.e. the foreground task is moved to background, bringing the next foremost task to the foreground. |
EBackwards |
Cycles the list backwards, i.e. the task furthest from the foreground is brought to the foreground, pushing what was the foremost task to the next ordinal position. |