summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehardwaredevices.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-30 19:59:57 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-30 19:59:57 -0500
commit4ee736a26459318950f8b68158011b78227a20bd (patch)
tree6a9cc562561dd606f02499395d1364afdf293888 /tdecore/tdehardwaredevices.h
parentfc3c24634ee8e44e9c27be14d4189ff3e4256f6d (diff)
downloadtdelibs-4ee736a26459318950f8b68158011b78227a20bd.tar.gz
tdelibs-4ee736a26459318950f8b68158011b78227a20bd.zip
Add ejectDriveMedia method to TDE hardware manager
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 1f41f6267..a31fc8eef 100644
--- a/tdecore/tdehardwaredevices.h
+++ b/tdecore/tdehardwaredevices.h
@@ -661,6 +661,13 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice
*/
bool lockDriveMedia(bool lock);
+ /**
+ * @return TRUE on success, FALSE on failure
+ *
+ * This method currently works on CD-ROM drives and similar devices
+ */
+ bool ejectDriveMedia();
+
protected:
/**
* @param a TQString with the disk or partition label, if any