| class TApaTask |
Application task.
A task is a running application. At any one time, for any given application, there may be zero, one, or more tasks running on a device.
A task is identified by its association with the running application's window group.
An instance of the TApaTaskList class is used to find and access specific tasks.
| Public Member Functions | |
|---|---|
| TApaTask(RWsSession &) | |
| IMPORT_C void | BringToForeground() |
| IMPORT_C void | EndTask() |
| IMPORT_C TBool | Exists() |
| IMPORT_C void | KillTask() |
| IMPORT_C void | SendKey(TInt, TInt) |
| IMPORT_C void | SendKey(const TKeyEvent &) |
| IMPORT_C TInt | SendMessage(TUid, const TDesC8 &) |
| IMPORT_C void | SendSystemEvent(TApaSystemEvent) |
| IMPORT_C void | SendToBackground() |
| IMPORT_C void | SetWgId(TInt) |
| IMPORT_C TInt | SwitchCreateFile(const TDesC &) |
| IMPORT_C TInt | SwitchOpenFile(const TDesC &) |
| IMPORT_C TThreadId | ThreadId() |
| IMPORT_C TInt | WgId() |
| Private Member Functions | |
|---|---|
| TInt | CheckSwitchFile() |
| void | SendSystemEvent(TApaSystemEvent, TEventCode) |
| Private Attributes | |
|---|---|
| TInt | iTApaTask_Reserved1 |
| TInt | iWgId |
| RWsSession & | iWsSession |
| IMPORT_C void | SendKey | ( | const TKeyEvent & | aKey | ) |
| const TKeyEvent & aKey |
| IMPORT_C void | SendSystemEvent | ( | TApaSystemEvent | aEvent | ) |
| TApaSystemEvent aEvent |
| void | SendSystemEvent | ( | TApaSystemEvent | aEvent, |
| TEventCode | aType | |||
| ) | [private] | |||
| TApaSystemEvent aEvent | |
| TEventCode aType |
| IMPORT_C TInt | SwitchCreateFile | ( | const TDesC & | aFilename | ) |
| const TDesC & aFilename |
| IMPORT_C TInt | SwitchOpenFile | ( | const TDesC & | aFilename | ) |
| const TDesC & aFilename |