diff options
Diffstat (limited to 'tdecore/tdehw/tdestoragedevice.h')
-rw-r--r-- | tdecore/tdehw/tdestoragedevice.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.h b/tdecore/tdehw/tdestoragedevice.h index 6bd39353b..79223d185 100644 --- a/tdecore/tdehw/tdestoragedevice.h +++ b/tdecore/tdehw/tdestoragedevice.h @@ -259,6 +259,22 @@ class TDECORE_EXPORT TDEStorageDevice : public TDEGenericDevice TQStringVariantMap unmountDevice(); /** + * Unlock/decrypt an encrypted storage device + * + * @param a TQString containing the passphrase + * + * @return a TQStringVariantMap object containing information about the operation outcome + */ + TQStringVariantMap unlockDevice(const TQString &passphrase); + + /** + * Lock/encrypt an encrypted storage device + * + * @return a TQStringVariantMap object containing information about the operation outcome + */ + TQStringVariantMap lockDevice(); + + /** * @return a TQString with the mount path, if mounted */ TQString mountPath(); |