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
Public Member Functions | |
---|---|
~CBaBackupSessionWrapper() | |
IMPORT_C void | CloseAll(MBackupObserver::TFileLockFlags, TRequestStatus &) |
IMPORT_C void | CloseFileL(const TDesC &, MBackupObserver::TFileLockFlags) |
IMPORT_C void | DeRegisterBackupOperationObserver(MBackupOperationObserver &) |
IMPORT_C void | DeregisterFile(const TDesC &) |
IMPORT_C TBool | IsBackupOperationRunning() |
IMPORT_C CBaBackupSessionWrapper * | NewL() |
IMPORT_C void | NotifyBackupOperationL(const TBackupOperationAttributes &) |
IMPORT_C void | RegisterBackupOperationObserverL(MBackupOperationObserver &) |
IMPORT_C void | RegisterFileL(const TDesC &, MBackupObserver &) |
IMPORT_C void | RestartAll() |
IMPORT_C void | RestartFile(const TDesC &) |
Private Member Functions | |
---|---|
CBaBackupSessionWrapper() | |
void | ConstructL() |
Private Attributes | |
---|---|
CBaBackupOperationNotifier * | iBackupOperationNotifier |
RBaBackupSession * | iBackupSession |
CBaLockChangeNotifier * | iLockChangeNotifier |
TAny * | iReserved |
IMPORT_C void | CloseAll | ( | MBackupObserver::TFileLockFlags | aFlags, |
TRequestStatus & | aStatus | |||
) |
MBackupObserver::TFileLockFlags aFlags | |
TRequestStatus & aStatus |
IMPORT_C void | CloseFileL | ( | const TDesC & | aFileName, |
MBackupObserver::TFileLockFlags | aFlags | |||
) |
const TDesC & aFileName | |
MBackupObserver::TFileLockFlags aFlags |
IMPORT_C void | DeRegisterBackupOperationObserver | ( | MBackupOperationObserver & | aBackupOperationObserver | ) |
MBackupOperationObserver & aBackupOperationObserver |
IMPORT_C void | DeregisterFile | ( | const TDesC & | aFileName | ) |
const TDesC & aFileName |
IMPORT_C void | NotifyBackupOperationL | ( | const TBackupOperationAttributes & | aBackupOperationAttributes | ) |
const TBackupOperationAttributes & aBackupOperationAttributes |
IMPORT_C void | RegisterBackupOperationObserverL | ( | MBackupOperationObserver & | aBackupOperationObserver | ) |
MBackupOperationObserver & aBackupOperationObserver |
IMPORT_C void | RegisterFileL | ( | const TDesC & | aFileName, |
MBackupObserver & | aObserver | |||
) |
const TDesC & aFileName | |
MBackupObserver & aObserver |
IMPORT_C void | RestartFile | ( | const TDesC & | aFileName | ) |
const TDesC & aFileName |