UIQ Technology
Symbian OS Library

UIQ 3.1 SDK        UIQ developer portal

[Index] [Spacer] [Previous] [Next]



Location: AgnSharedUIController.h
Link against: qagendaui.lib

Class CAgnSharedUIController

class CAgnSharedUIController : public CBase;

Description

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.

Derivation

Members

Defined in CAgnSharedUIController:
BackupEntries(), CheckIfCardPresentL(), IsBackupExists(), NewL(), RestoreEntries(), RestoreEntries(), SetObserver(), ~CAgnSharedUIController()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CAgnSharedUIController *NewL();

Description

Class factory

Return value

CAgnSharedUIController *

A pointer to the newly created CAgnSharedUIController instance.


~CAgnSharedUIController()

IMPORT_C ~CAgnSharedUIController();

Description

Local includes.

Destructor

[Top]


Member functions


BackupEntries()

IMPORT_C void BackupEntries(const TBackupApplicationType aAppType);

Description

Backing up entries

Parameters

const TBackupApplicationType aAppType


RestoreEntries()

IMPORT_C void RestoreEntries(const TBackupApplicationType aAppType);

Description

Restoring entries (NOT USED, NEED TO BE REMOVED)

Parameters

const TBackupApplicationType aAppType


RestoreEntries()

IMPORT_C void RestoreEntries(const TBackupApplicationType aAppType, CQikCategoryModel *aCategoryModel);

Description

Restoring entries

Parameters

const TBackupApplicationType aAppType

CQikCategoryModel *aCategoryModel


CheckIfCardPresentL()

static IMPORT_C TBool CheckIfCardPresentL();

Description

Checks if card present and writable

Return value

TBool


IsBackupExists()

static IMPORT_C TBool IsBackupExists(TBackupApplicationType aAppType);

Description

Checks if backup file exists

Parameters

TBackupApplicationType aAppType

Return value

TBool

ETrue if media accessible and corresponding file exists


SetObserver()

IMPORT_C void SetObserver(MAgnSharedUIObserver *aObserver);

Description

Sets the observer for the class to be able to make callbacks.

Parameters

MAgnSharedUIObserver *aObserver

makes the callbacks.