Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: babackup.h

Class MBackupObserver

class MBackupObserver

Support

Supported from 6.0

Description

Backup server wrapper observer interface.

This interface is implemented by the program owning files that need registering with the backup server.

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]


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.