1
0
Fork 0
forked from len0rd/rockbox

Add "Eject" button to main window.

Since especially Windows puts the eject functionality behind an icon in the
systray which is usually hidden and doesn't complain if a USB drive is
unplugged without ejecting it first ejecting such a device might not be
obvious to everyone. Add a button to the main window allowing to eject the
selected player.

Currently only implemented for Windows.

Change-Id: I785ac1482cda03a1379cf6d0fd0d9a0ff8130092
This commit is contained in:
Dominik Riebeling 2012-09-08 20:34:36 +02:00
parent 4f99dd4264
commit 328ff6d979
7 changed files with 137 additions and 29 deletions

View file

@ -50,6 +50,7 @@ public:
static QString resolveDevicename(QString path);
static QString resolveMountPoint(QString device);
static QStringList findRunningProcess(QStringList names);
static bool ejectDevice(QString device);
};
#endif