diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-04-15 13:00:19 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-04-15 13:00:19 -0500 |
commit | 43e139235d1457fed093c270b81d5e16c1922fc1 (patch) | |
tree | a55570a07bc966845903545d8fe914d6b75d66ef /tdecore/tdehardwaredevices.h | |
parent | f6402c325a2374e72411ccf4f409f9368b4e42c6 (diff) | |
download | tdelibs-43e139235d1457fed093c270b81d5e16c1922fc1.tar.gz tdelibs-43e139235d1457fed093c270b81d5e16c1922fc1.zip |
Add support for udisks2 device eject
Diffstat (limited to 'tdecore/tdehardwaredevices.h')
-rw-r--r-- | tdecore/tdehardwaredevices.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tdecore/tdehardwaredevices.h b/tdecore/tdehardwaredevices.h index a31fc8eef..4c9b74940 100644 --- a/tdecore/tdehardwaredevices.h +++ b/tdecore/tdehardwaredevices.h @@ -668,6 +668,13 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice */ bool ejectDriveMedia(); + /** + * @return TRUE on success, FALSE on failure + * + * This method currently works on all removable storage devices + */ + bool ejectDrive(); + protected: /** * @param a TQString with the disk or partition label, if any |