Pyro higlevel API
|
Information about the mounted volumes. More...
Public Member Functions | |
Volumes () | |
~Volumes () | |
uint | GetMountPointCount () |
Return the number of mount points. More... | |
status_t | GetMountPoint (uint nIndex, String *cMountPoint) |
Return a mountpoint. More... | |
status_t | GetFSInfo (uint nIndex, fs_info *psInfo) |
Return information about a mounted filesystem. More... | |
Window * | MountDialog (const Messenger &cMsgTarget, Message *pcMountMsg) |
Create a mount dialog. More... | |
void | Unmount (String cMountPoint, const Messenger &cMsgTarget, Message *pcFinishMsg) |
Unmounts a volume. More... | |
Volumes::Volumes | ( | ) |
Volumes::~Volumes | ( | ) |
status_t Volumes::GetFSInfo | ( | uint | nIndex, |
fs_info * | psInfo | ||
) |
nIndex | - Index of the mountpoint. |
psInfo | - Pointer to a fs_info structure. |
Referenced by os::IconDirectoryView::Private::GetDriveIcon(), and os_priv::DirKeeper::Idle().
status_t Volumes::GetMountPoint | ( | uint | nIndex, |
String * | cMountPoint | ||
) |
nIndex | - Index of the mountpoint. |
cMountPoint | - Will contain the path of the mountpoint after the call. |
Referenced by os::IconDirectoryView::GetDirIcon(), os::IconDirectoryView::Private::GetDriveIcon(), and os_priv::DirKeeper::Idle().
uint Volumes::GetMountPointCount | ( | ) |
Referenced by os::IconDirectoryView::GetDirIcon(), os::IconDirectoryView::Private::GetDriveIcon(), and os_priv::DirKeeper::Idle().
cMsgTarget | - The target that will receive the message. |
cMountMsg | - The message that will be sent. |
References MountDialogWin::StartScanner().
Referenced by os::IconDirectoryView::HandleMessage().
cMountPoint | - The mountpoint. |
cMsgTarget | - The target that will receive the message. |
cMountMsg | - The message that will be sent. |
References UnmountThread().
Referenced by os::IconDirectoryView::HandleMessage().