|
||
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
CBase
-
Base class for all classes to be instantiated on the heap.
CBaBackupSessionWrapper
- CBaBackupSessionWrapper provides the APIs necessary to enable a backup or restor...
Defined in CBaBackupSessionWrapper
:
DeRegisterBackupOperationObserver(MBackupOperationObserver &)
De-registers the observer aBackupOperationObserver for getting notifications whe...DeregisterFile(const TDesC &)
Stop sending this client requests to alter the lock state of aFileName IsBackupOperationRunning()const
Returns ETrue when either a backup or restore operation is running, otherwise it...NewL()
Returns a newly created CBaBackupSessionWrapper, passing ownership immediately RegisterBackupOperationObserverL(MBackupOperationObserver &)
Registers the observer aBackupOperationObserver for getting notifications whethe...RegisterFileL(const TDesC &,MBackupObserver &)
Register the specified file to the server. The given observer will be called bac...~CBaBackupSessionWrapper()
D'tor. Any files or apps that have been closed will be restarted Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CBaBackupSessionWrapper* NewL();
Returns a newly created CBaBackupSessionWrapper, passing ownership immediately
|
IMPORT_C ~CBaBackupSessionWrapper();
D'tor. Any files or apps that have been closed will be restarted
IMPORT_C void RegisterFileL(const TDesC &aFileName, MBackupObserver &aObserver);
Register the specified file to the server. The given observer will be called back when the lock state of the file should be modified
|
|
IMPORT_C void DeregisterFile(const TDesC &aFileName);
Stop sending this client requests to alter the lock state of aFileName
|
IMPORT_C void RegisterBackupOperationObserverL(MBackupOperationObserver &aBackupOperationObserver);
Registers the observer aBackupOperationObserver for getting notifications whether a backup or restore operation starts or ends.
|
IMPORT_C void DeRegisterBackupOperationObserver(MBackupOperationObserver &aBackupOperationObserver);
De-registers the observer aBackupOperationObserver for getting notifications whether a backup or restore operation starts or ends.
|
IMPORT_C TBool IsBackupOperationRunning() const;
Returns ETrue when either a backup or restore operation is running, otherwise it retunrs EFalse.
|