#include <mw/swi/pkgremover.h>
class Swi::UninstalledSisPackages |
Public Member Functions | |
---|---|
IMPORT_C void | ListL(TDriveNumber, RPointerArray< CUninstalledPackageEntry > &) |
IMPORT_C void | RemoveL(const CUninstalledPackageEntry &) |
This class provides static methods for managing uninstalled native packages (SIS files) that are taking up space on removable drives.
IMPORT_C void | ListL | ( | TDriveNumber | aDrive, |
RPointerArray< CUninstalledPackageEntry > & | aPackageList | |||
) | [static] |
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.
See also: TDriveNumber)
See also: CUninstalledPackageEntry). This array is assumed to be empty. The caller takes ownership of the elements added to the array.
Parameter | Description |
---|---|
aDrive | Removable drive number ( |
aPackageList | Array of pointers to the uninstalled packages found on the specified drive ( |
IMPORT_C void | RemoveL | ( | const CUninstalledPackageEntry & | aPackage | ) | [static] |
For security reasons only files on the same drive as the package controller will be removed. Files on other drives will be orphaned.
Files belonging to other packages will not be removed.
See also: CUninstalledPackageEntry)
Parameter | Description |
---|---|
aPackage | The uninstalled package to remove ( |