class CCertificateAppInfoManager : public CBase |
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.
Public Member Functions | |
---|---|
~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 &) |
Private Member Functions | |
---|---|
CCertificateAppInfoManager () | |
void | ConstructL () |
Private Attributes | |
---|---|
MCTCertApps * | iCertAppsIf |
RArray < TCertificateAppInfo > | iClients |
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.
const TCertificateAppInfo & aClient | The new application to add. |
IMPORT_C const TCertificateAppInfo & | ApplicationL | ( | const TUid & | aUid, |
TInt & | aIndex | |||
) | const |
Gets an application by UID.
IMPORT_C const RArray < TCertificateAppInfo > & | Applications | ( | ) | const |
Gets a list of all applications in the store.
IMPORT_C CCertificateAppInfoManager * | NewL | ( | ) | [static] |
Creates a new instance of the app info manager.
IMPORT_C CCertificateAppInfoManager * | NewL | ( | RFs & | aFs, |
TBool | aOpenedForWrite | |||
) | [static] |
Creates a new instance of the app info manager.
Clients 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.
IMPORT_C CCertificateAppInfoManager * | NewLC | ( | RFs & | aFs, |
TBool | aOpenedForWrite | |||
) | [static] |
Creates a new instance of the app info manager.
Clients should use the no-argument version.
IMPORT_C void | RemoveL | ( | const TUid & | aUid | ) |
Removes an existing application.
const TUid & aUid | The UID of the application to remove. |
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.