|
|
|||
Location:
AgnSharedUIController.h
Link against: qagendaui.lib
class CAgnSharedUIController : public CBase;
The class which is performing control of Backup/restore process
This class has the 2 main functions: BackupEntries and RestoreEntries. Before calling any of them, try to check the presence of external memory card by calling the CheckIfCardPresentL function.
CBase - Base class for all classes to be instantiated on the heapCAgnSharedUIController - The class which is performing control of Backup/restore processDefined in CAgnSharedUIController:
BackupEntries(), CheckIfCardPresentL(), IsBackupExists(), NewL(), RestoreEntries(), RestoreEntries(), SetObserver(), ~CAgnSharedUIController()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
static IMPORT_C CAgnSharedUIController *NewL();
Class factory
|
IMPORT_C void BackupEntries(const TBackupApplicationType aAppType);
Backing up entries
|
IMPORT_C void RestoreEntries(const TBackupApplicationType aAppType);
Restoring entries (NOT USED, NEED TO BE REMOVED)
|
IMPORT_C void RestoreEntries(const TBackupApplicationType aAppType, CQikCategoryModel *aCategoryModel);
Restoring entries
|
static IMPORT_C TBool CheckIfCardPresentL();
Checks if card present and writable
|
static IMPORT_C TBool IsBackupExists(TBackupApplicationType aAppType);
Checks if backup file exists
|
|
IMPORT_C void SetObserver(MAgnSharedUIObserver *aObserver);
Sets the observer for the class to be able to make callbacks.
|