CTsFswClient Class Reference
class CTsFswClient : public CBase
|
Client API for the Huriganes Fast Swap Server.
Constructor & Destructor Documentation
CTsFswClient()
CTsFswClient
|
(
|
)
|
[private]
|
Member Functions Documentation
CancelSubscribe()
IMPORT_C void
|
CancelSubscribe
|
(
|
)
|
|
Cancels the subscription for change notifications.
-
capability
-
LocalServices
CloseApp(TInt)
IMPORT_C void
|
CloseApp
|
(
|
TInt
|
aWgId
|
)
|
|
Tries to close the application with the given id.
-
capability
-
LocalServices
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ForegroundAppUid(TTsFswFgAppType)
Returns the uid of the foreground app or KNullUid if something goes wrong.
Will never return hidden apps, only those which can also be seen in the array returned by GetContentL.
However the handling of embedded applications might be different: (as opposed to GetContentL) If aType == EUseEmbeddedUid: This function will always return the embedded application's uid, unlike GetContentL which will always refer to the container app (except for the screenshot of course). This means that the returned uid is simply the uid belonging to the first (non-hidden, etc.) window group from the window group list. If aType == EUseStandaloneUid: Embedded applications are ignored and the returned uid is the app uid belonging to the first parentless window group.
GetContentL(RTsFswArray &)
Queries the fast swap content from the server and copies it into the given array. Previous content of the array is removed (by using ResetAndDestroy).
-
capability
-
LocalServices
NewL()
Creates a new instance.
-
capability
-
LocalServices
NewLC()
Creates a new instance.
-
capability
-
LocalServices
Subscribe(MTsFswObserver &)
Subscribes for continuous notifications about changes in the fast swap content. The notifications are generated until CancelSubscribe is called or the instance is destroyed.
-
capability
-
LocalServices
SwitchToApp(TInt)
IMPORT_C void
|
SwitchToApp
|
(
|
TInt
|
aWgId
|
)
|
|
Brings the application with the given id into foreground.
-
capability
-
LocalServices
Member Enumerations Documentation
Enum TTsFswFgAppType
Enumerators
EUseStandaloneUid
|
Means that even when the foreground app has another app embedded into it the uid of the container application will be returned.
|
EUseEmbeddedUid
|
Means that if the foreground app has another app embedded into it then the returned uid will be the uid of the embedded app.
|
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.