summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehardwaredevices.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-04-15 13:00:19 -0500
committerTimothy Pearson <[email protected]>2013-04-15 13:00:19 -0500
commit43e139235d1457fed093c270b81d5e16c1922fc1 (patch)
treea55570a07bc966845903545d8fe914d6b75d66ef /tdecore/tdehardwaredevices.h
parentf6402c325a2374e72411ccf4f409f9368b4e42c6 (diff)
downloadtdelibs-43e139235d1457fed093c270b81d5e16c1922fc1.tar.gz
tdelibs-43e139235d1457fed093c270b81d5e16c1922fc1.zip
Add support for udisks2 device eject
Diffstat (limited to 'tdecore/tdehardwaredevices.h')
-rw-r--r--tdecore/tdehardwaredevices.h7
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