From 4ee736a26459318950f8b68158011b78227a20bd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 30 Mar 2013 19:59:57 -0500 Subject: Add ejectDriveMedia method to TDE hardware manager --- tdecore/tdehardwaredevices.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tdecore/tdehardwaredevices.h') 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 -- cgit v1.2.1