CBaBackupSessionWrapper Class Reference

class CBaBackupSessionWrapper : public CBase

CBaBackupSessionWrapper provides the APIs necessary to enable a backup or restore/install by allowing broadcast requests for some or all files to either remain untouched or have their locks released for an arbitrary period.

The class should be used by both code driving a backup/install and any engines that will hold files locks or may access files regardless of the presence of (non-system) client apps

Inherits from

  • CBaBackupSessionWrapper

Constructor & Destructor Documentation

CBaBackupSessionWrapper()

CBaBackupSessionWrapper()[private]

~CBaBackupSessionWrapper()

IMPORT_C~CBaBackupSessionWrapper()

Member Functions Documentation

CloseAll(MBackupObserver::TFileLockFlags, TRequestStatus &)

IMPORT_C voidCloseAll(MBackupObserver::TFileLockFlagsaFlags,
TRequestStatus &aStatus
)

CloseFileL(const TDesC &, MBackupObserver::TFileLockFlags)

IMPORT_C voidCloseFileL(const TDesC &aFileName,
MBackupObserver::TFileLockFlagsaFlags
)

Parameters

const TDesC & aFileName
MBackupObserver::TFileLockFlags aFlags

ConstructL()

voidConstructL()[private]

DeRegisterBackupOperationObserver(MBackupOperationObserver &)

IMPORT_C voidDeRegisterBackupOperationObserver(MBackupOperationObserver &aBackupOperationObserver)

Parameters

MBackupOperationObserver & aBackupOperationObserver

DeregisterFile(const TDesC &)

IMPORT_C voidDeregisterFile(const TDesC &aFileName)

Parameters

const TDesC & aFileName

IsBackupOperationRunning()

IMPORT_C TBoolIsBackupOperationRunning()const

NewL()

IMPORT_C CBaBackupSessionWrapper *NewL()[static]

NotifyBackupOperationL(const TBackupOperationAttributes &)

IMPORT_C voidNotifyBackupOperationL(const TBackupOperationAttributes &aBackupOperationAttributes)

Parameters

const TBackupOperationAttributes & aBackupOperationAttributes

RegisterBackupOperationObserverL(MBackupOperationObserver &)

IMPORT_C voidRegisterBackupOperationObserverL(MBackupOperationObserver &aBackupOperationObserver)

Parameters

MBackupOperationObserver & aBackupOperationObserver

RegisterFileL(const TDesC &, MBackupObserver &)

IMPORT_C voidRegisterFileL(const TDesC &aFileName,
MBackupObserver &aObserver
)

Parameters

const TDesC & aFileName
MBackupObserver & aObserver

RestartAll()

IMPORT_C voidRestartAll()

RestartFile(const TDesC &)

IMPORT_C voidRestartFile(const TDesC &aFileName)

Parameters

const TDesC & aFileName

Member Data Documentation

CBaBackupOperationNotifier * iBackupOperationNotifier

CBaBackupOperationNotifier *iBackupOperationNotifier[private]

RBaBackupSession * iBackupSession

RBaBackupSession *iBackupSession[private]

CBaLockChangeNotifier * iLockChangeNotifier

CBaLockChangeNotifier *iLockChangeNotifier[private]

TAny * iReserved

TAny *iReserved[private]