| class Swi::RInstallServerSession : public RSessionBase |
Session to communicate with SWIS in order to initiate installation or uninstallation.
| Public Member Functions | |
|---|---|
| IMPORT_C TInt | Cancel () |
| IMPORT_C TInt | Connect () |
| void | InstallL (const TIpcArgs &, TRequestStatus &) |
| IMPORT_C TInt | Restore (const TIpcArgs &) |
| IMPORT_C TInt | RestoreCommit () |
| IMPORT_C TInt | RestoreFile (const TIpcArgs &) |
| void | Uninstall ( TIpcArgs &, TRequestStatus &) |
| Inherited Enumerations | |
|---|---|
| RHandleBase:TAttributes | |
| RSessionBase:TAttachMode | |
| Inherited Attributes | |
|---|---|
| RHandleBase::iHandle | |
| IMPORT_C TInt | Cancel | ( | ) |
Cancel current activity of SWIS. This is meaningful during file installation phase only because to cancel installation planning it is only necessary to cancel a dialog box.
| IMPORT_C TInt | Connect | ( | ) |
Connect to the server, attempt to start it if it is not yet running
| void | InstallL | ( | const TIpcArgs & | aArgs, |
| TRequestStatus & | aStatus | |||
| ) | ||||
Start installation. SWIS will ask SISHelper for package data so it is not necessary to pass any additional arguments.
| const TIpcArgs & aArgs | |
| TRequestStatus & aStatus | A request status which indicates the completion status of the asynchronous request. |
| IMPORT_C TInt | Restore | ( | const TIpcArgs & | aArgs | ) |
Start restoration of a package
| const TIpcArgs & aArgs | Contains the UID of the package being restored and the associated metadata |
| IMPORT_C TInt | RestoreFile | ( | const TIpcArgs & | aArgs | ) |
Restores a single system file
| const TIpcArgs & aArgs | Contains the destination filename of the file to be restored and a file handle to its data |
| void | Uninstall | ( | TIpcArgs & | args, |
| TRequestStatus & | aStatus | |||
| ) | ||||
Start uninstallation
| TIpcArgs & args | |
| TRequestStatus & aStatus | A request status which indicates the completion status of the asynchronous request. |
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.