class MBackupObserver |
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
Public Member Functions | |
---|---|
void | ChangeFileLockL (const TDesC &, TFileLockFlags ) |
Public Member Enumerations | |
---|---|
enum | TFileLockFlags { ETakeLock = 0, EReleaseLockReadOnly = 0x01, EReleaseLockNoAccess = 0x02 } |
void | ChangeFileLockL | ( | const TDesC & | aFileName, |
TFileLockFlags | aFlags | |||
) | [pure virtual] |
Called by the server to request the file owner to change the lock on the specified file.
const TDesC & aFileName | Filename of affected file |
TFileLockFlags aFlags | Flag indicating how to change the file lock |
Flags indicating how to change a file lock.
ETakeLock = 0 |
Owner can reopen/resume writing to the file. |
EReleaseLockReadOnly = 0x01 |
Owner should stop writing to the file. |
EReleaseLockNoAccess = 0x02 |
Owner should close the file. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.