Swi::UninstalledSisPackages Class Reference
class Swi::UninstalledSisPackages |
This class provides static methods for managing uninstalled native packages (SIS files) that are taking up space on removable drives.
Member Functions Documentation
ListL(TDriveNumber, RPointerArray< CUninstalledPackageEntry > &)
Get the list of uninstalled packages on a specified removable drive. In this context uninstalled means 'not known by this phone'. This will list uninstalled PA & PP files found in the SWI Daemon's private directory, and will also search the sis registry files on the drive for uninstalled applications.
TDriveNumber)
CUninstalledPackageEntry). This array is assumed to be empty. The caller takes ownership of the elements added to the array.
- leave
- One of the system-wide error codes.
- leave
- KErrNotRemovable If the drive is not removable or is substed
- leave
- KErrPackageFileCorrupt If an error occurs during the processing of files
- capability
- ReadDeviceData Required to access protected directories during listing operation
- capability
- ProtServ Required to access services of software installer
- capability
- TrustedUI Required to access services of software installer
RemoveL(const CUninstalledPackageEntry &)
Remove the specified uninstalled package. The following restrictions apply to the files that will be removed:
CUninstalledPackageEntry)
- leave
- One of the system-wide error codes.
- leave
- KErrNotRemovable If the drive is not removable or is substed
- leave
- KErrPackageIsInstalled If the specified package is installed on the device
- leave
- KErrPackageFileCorrupt If an error occurs during the processing of files
- capability
- WriteDeviceData Required to write to protected directories during remove operation
- capability
- ProtServ Required to access services of software installer
- capability
- TrustedUI Required to access services of software installer
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.