#include <certificateapps.h>
class CCertificateAppInfoManager : public CBase |
Public Member Functions | |
---|---|
virtual | ~CCertificateAppInfoManager() |
IMPORT_C void | AddL(const TCertificateAppInfo &) |
IMPORT_C const TCertificateAppInfo & | ApplicationL(const TUid &, TInt &) |
IMPORT_C const RArray< TCertificateAppInfo > & | Applications() |
IMPORT_C CCertificateAppInfoManager * | NewL() |
IMPORT_C CCertificateAppInfoManager * | NewL(RFs &, TBool) |
IMPORT_C CCertificateAppInfoManager * | NewLC() |
IMPORT_C CCertificateAppInfoManager * | NewLC(RFs &, TBool) |
IMPORT_C void | RemoveL(const TUid &) |
This class is used to access a persistent store which contains the available applications on a device. It provides an interface to add and retrieve applications.
IMPORT_C | ~CCertificateAppInfoManager | ( | ) | [virtual] |
Virtual destructor. Frees all resources owned by the object, prior to its destruction.
IMPORT_C void | AddL | ( | const TCertificateAppInfo & | aClient | ) |
Adds a new application.
Parameter | Description |
---|---|
aClient | The new application to add. |
IMPORT_C const TCertificateAppInfo & | ApplicationL | ( | const TUid & | aUid, |
TInt & | aIndex | |||
) | const |
Gets an application by UID.
Parameter | Description |
---|---|
aUid | The UID of the application. |
aIndex | On return, the index of the application in the store. |
Returns: Information about the application if it is present.
IMPORT_C const RArray< TCertificateAppInfo > & | Applications | ( | ) | const |
Gets a list of all applications in the store.
Returns: An array containing all applications in the store.
IMPORT_C CCertificateAppInfoManager * | NewL | ( | ) | [static] |
Creates a new instance of the app info manager.
Returns: A new CCertificateAppInfoManager object.
IMPORT_C CCertificateAppInfoManager * | NewL | ( | RFs & | aFs, |
TBool | aOpenedForWrite | |||
) | [static] |
Creates a new instance of the app info manager.
DeprecatedClients should use the no-argument version.
IMPORT_C CCertificateAppInfoManager * | NewLC | ( | ) | [static] |
Creates a new instance of the app info manager and puts a pointer to it onto the cleanup stack.
Returns: A new CCertificateAppInfoManager object.
IMPORT_C CCertificateAppInfoManager * | NewLC | ( | RFs & | aFs, |
TBool | aOpenedForWrite | |||
) | [static] |
Creates a new instance of the app info manager.
DeprecatedClients should use the no-argument version.
IMPORT_C void | RemoveL | ( | const TUid & | aUid | ) |
Removes an existing application.
Parameter | Description |
---|---|
aUid | The UID of the application to remove. |