| class CApaWindowGroupName : public CBase |
Gives access to the name of a window group and the information encoded by that name.
A window group is associated with a task, i.e. a running application. The window group's name encodes four pieces of information for that task:
the name of the document that the task is handling,
the task's caption,
the application specific UID, as eight hexadecimal characters,
status information for the task, as two hexadecimal characters.
| Private Member Functions | |
|---|---|
| CApaWindowGroupName(const RWsSession &) | |
| void | DefaultConstructL() |
| TInt | FindDelimiter(TApaDelimiter) |
| void | GetStatusFromName() |
| void | ReAllocIfNecessaryL(TInt) |
| void | WriteStatusToName() |
| Private Member Enumerations | |
|---|---|
| enum | TApaDelimiter { EEndStatus = 1, EEndUid, EEndCaption, ELast = EEndCaption } |
| enum | TApaStatus { ESystem = 0x01, EBusy = 0x02, EDocNameNotAFile = 0x04, EDoesNotRespondToShutdownEvent = 0x08, EDoesNotRespondToSwitchFilesEvent = 0x10, EIsHidden = 0x20, EAppReady = 0x40 } |
| Private Attributes | |
|---|---|
| HBufC * | iBuf |
| TUint | iStatus |
| const RWsSession & | iWsSession |
| CApaWindowGroupName | ( | const RWsSession & | aWsSession | ) | [private] |
| const RWsSession & aWsSession |
| IMPORT_C void | FindByAppUid | ( | TUid | aAppUid, |
| RWsSession & | aWsSession, | |||
| TInt & | aPrevWgId | |||
| ) | [static] | |||
| TUid aAppUid | |
| RWsSession & aWsSession | |
| TInt & aPrevWgId |
| IMPORT_C void | FindByCaption | ( | const TDesC & | aCaption, |
| RWsSession & | aWsSession, | |||
| TInt & | aPrevWgId | |||
| ) | [static] | |||
| const TDesC & aCaption | |
| RWsSession & aWsSession | |
| TInt & aPrevWgId |
| IMPORT_C void | FindByDocName | ( | const TDesC & | aDocName, |
| RWsSession & | aWsSession, | |||
| TInt & | aPrevWgId | |||
| ) | [static] | |||
| const TDesC & aDocName | |
| RWsSession & aWsSession | |
| TInt & aPrevWgId |
| TInt | FindDelimiter | ( | TApaDelimiter | aDelim | ) | const [private] |
| TApaDelimiter aDelim |
| IMPORT_C CApaWindowGroupName * | New | ( | const RWsSession & | aWsSession, |
| HBufC * | aWgName | |||
| ) | [static] | |||
| const RWsSession & aWsSession | |
| HBufC * aWgName |
| IMPORT_C CApaWindowGroupName * | NewL | ( | const RWsSession & | aWsSession | ) | [static] |
| const RWsSession & aWsSession |
| IMPORT_C CApaWindowGroupName * | NewL | ( | const RWsSession & | aWsSession, |
| TInt | aWgId | |||
| ) | [static] | |||
| const RWsSession & aWsSession | |
| TInt aWgId |
| IMPORT_C CApaWindowGroupName * | NewL | ( | const RWsSession & | aWsSession, |
| const TDesC & | aWgName | |||
| ) | [static] | |||
| const RWsSession & aWsSession | |
| const TDesC & aWgName |
| IMPORT_C CApaWindowGroupName * | NewLC | ( | const RWsSession & | aWsSession | ) | [static] |
| const RWsSession & aWsSession |
| IMPORT_C CApaWindowGroupName * | NewLC | ( | const RWsSession & | aWsSession, |
| TInt | aWgId | |||
| ) | [static] | |||
| const RWsSession & aWsSession | |
| TInt aWgId |
| IMPORT_C CApaWindowGroupName * | NewLC | ( | const RWsSession & | aWsSession, |
| const TDesC & | aWgName | |||
| ) | [static] | |||
| const RWsSession & aWsSession | |
| const TDesC & aWgName |
| void | ReAllocIfNecessaryL | ( | TInt | aExtraLengthReqd | ) | [private] |
| TInt aExtraLengthReqd |
| IMPORT_C void | SetCaptionL | ( | const TDesC & | aCaption | ) |
| const TDesC & aCaption |
| IMPORT_C void | SetDocNameIsAFile | ( | TBool | aDocNameIsAFile | ) |
| TBool aDocNameIsAFile |
| IMPORT_C void | SetDocNameL | ( | const TDesC & | aDocName | ) |
| const TDesC & aDocName |
| IMPORT_C void | SetRespondsToShutdownEvent | ( | TBool | aRespondsToShutdownEvent | ) |
| TBool aRespondsToShutdownEvent |
| IMPORT_C void | SetRespondsToSwitchFilesEvent | ( | TBool | aRespondsToSwitchFilesEvent | ) |
| TBool aRespondsToSwitchFilesEvent |
| IMPORT_C void | SetWindowGroupName | ( | HBufC * | aWgName | ) |
| HBufC * aWgName |
| IMPORT_C TInt | SetWindowGroupName | ( | RWindowGroup & | aGroupWin | ) | const |
| RWindowGroup & aGroupWin |
| IMPORT_C void | SetWindowGroupNameL | ( | const TDesC & | aWgName | ) |
| const TDesC & aWgName |
| ESystem = 0x01 | |
| EBusy = 0x02 | |
| EDocNameNotAFile = 0x04 | |
| EDoesNotRespondToShutdownEvent = 0x08 | |
| EDoesNotRespondToSwitchFilesEvent = 0x10 | |
| EIsHidden = 0x20 | |
| EAppReady = 0x40 |