Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: babackup.h

Class MBackupObserver

class MBackupObserver;

Description

Backup server wrapper observer interface.

MBackupObserver defines the interface to be implemented by any code that will hold file locks or may attempt to access files regardless of other device state e.g. a phone app may always attempt to access the contacts database for caller id

Members

Defined in MBackupObserver:
ChangeFileLockL(), EReleaseLockNoAccess, EReleaseLockReadOnly, ETakeLock, TFileLockFlags


Member functions


ChangeFileLockL()

virtual void ChangeFileLockL(const TDesC &aFileName, TFileLockFlags aFlags)=0;

Description

Called by the server to request the file owner to change the lock on the specified file.

Parameters

const TDesC &aFileName

Filename of affected file

TFileLockFlags aFlags

Flag indicating how to change the file lock

[Top]


Member enumerations


Enum TFileLockFlags

TFileLockFlags

Description

Flags indicating how to change a file lock.

ETakeLock

Owner can reopen/resume writing to the file.

EReleaseLockReadOnly

Owner should stop writing to the file.

EReleaseLockNoAccess

Owner should close the file.