MDiskNotifyHandlerCallback Class Reference
class MDiskNotifyHandlerCallback |
Class provides a callback interface for handling the notififications from the file server. The Client derives a class from this interface and implements the HandleNotify-methods that interest it. An empty default implementation is provided for all of the methods. In debug build the default implementations print out a debug trace.
disknotifyhandler.lib
- Since
- S60 5.0
Nested Classes and Structures
Member Functions Documentation
HandleNotifyDisk(TInt, const TDiskEvent &)
IMPORT_C void | HandleNotifyDisk | ( | TInt | aError, |
| const TDiskEvent & | aEvent |
| ) | [virtual] |
This callback method is used to notify the client about disk notifications, i.e. memory card has been inserted
TDiskEvent
Parameters
TInt aError | System wide error code from file server |
const TDiskEvent & aEvent | The disk event data data specified by TDiskEvent |
HandleNotifyDiskSpace(TInt, const TDiskSpaceEvent &)
This callback method is used to notify the client about disk space notifications.
TDiskSpaceEvent
Parameters
TInt aError | System wide error code from file server |
const TDiskSpaceEvent & aEvent | The disk space event data specified by TDiskSpaceEvent |
HandleNotifyDismount(TInt, const TDismountEvent &)
This callback method is used to notify the client about dismount notifications. Client have to call CDiskNotifyHandler's AllowDismount after it has finished preparing for dismount.
TDismountEvent
Parameters
TInt aError | System wide error code from file server |
const TDismountEvent & aEvent | The dismount event data specified by TDismountEvent |
HandleNotifyDismountFinished(TInt, const TDismountFinishedEvent &)
HandleNotifyEntry(TInt, const TEntryEvent &)
IMPORT_C void | HandleNotifyEntry | ( | TInt | aError, |
| const TEntryEvent & | aEvent |
| ) | [virtual] |
This callback method is used to notify the client about entry notifications.
TEntryEvent
Parameters
TInt aError | System wide error code from file server |
const TEntryEvent & aEvent | The entry event data specified by TEntryEvent |
Member Enumerations Documentation
Enum TDiskEventType
Defines the disk notification types.
Enumerators
EDiskError = 0 |
To indicate disk notification error. It also indicates that there is no valid disk event data available.
|
EDiskAdded |
To indicate that a new drive has been added to the drive list of file server.
|
EDiskRemoved |
To indicate that a drive has been removed from the drive list of file server.
|
EDiskStatusChanged |
To indicate that drive status has been changed. E.g. A memory card has been inserted, removed or unlocked.
|
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.