summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager/mediamanager.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-06-02 15:45:44 +0900
committerMichele Calgaro <[email protected]>2019-07-08 10:33:34 +0900
commitb4754b0e6fc213e0880947cb2c01dfab834fa264 (patch)
tree3086eb9f5c497c4d8fd9c747f0b8c2922bcb330b /tdeioslave/media/mediamanager/mediamanager.h
parente44487e1b855106ddf00ade92a25493e11589ca1 (diff)
downloadtdebase-b4754b0e6fc213e0880947cb2c01dfab834fa264.tar.gz
tdebase-b4754b0e6fc213e0880947cb2c01dfab834fa264.zip
Extended media manager dcop interface by adding functions to
mount/unmount/decrypt/undecrypt a medium by device node (for example /dev/sdc). Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeioslave/media/mediamanager/mediamanager.h')
-rw-r--r--tdeioslave/media/mediamanager/mediamanager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tdeioslave/media/mediamanager/mediamanager.h b/tdeioslave/media/mediamanager/mediamanager.h
index 673629cf9..667626370 100644
--- a/tdeioslave/media/mediamanager/mediamanager.h
+++ b/tdeioslave/media/mediamanager/mediamanager.h
@@ -52,6 +52,11 @@ k_dcop:
TQStringVariantMap decrypt(const TQString &uid, const TQString &password);
TQStringVariantMap undecrypt(const TQString &uid);
+ TQStringVariantMap mountByNode(const TQString &deviceNode);
+ TQStringVariantMap unmountByNode(const TQString &deviceNode);
+ TQStringVariantMap decryptByNode(const TQString &deviceNode, const TQString &password);
+ TQStringVariantMap undecryptByNode(const TQString &deviceNode);
+
TQString nameForLabel(const TQString &label);
ASYNC setUserLabel(const TQString &name, const TQString &label);