diff options
author | Michele Calgaro <[email protected]> | 2021-03-06 21:06:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-03-06 21:06:18 +0900 |
commit | d289ed30ed679d78a0ef2e06a66ed2c21d07bd16 (patch) | |
tree | b88a273b11a8652ae865e957af7de421411ee828 /tdeioslave/media/mediamanager/mediamanager.h | |
parent | 6d7fe7fdb4c802a034ef763c7bc0d0768a47cff5 (diff) | |
download | tdebase-d289ed30ed679d78a0ef2e06a66ed2c21d07bd16.tar.gz tdebase-d289ed30ed679d78a0ef2e06a66ed2c21d07bd16.zip |
mediamanager: added DCOP call to get medium's mimetype from its name.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeioslave/media/mediamanager/mediamanager.h')
-rw-r--r-- | tdeioslave/media/mediamanager/mediamanager.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tdeioslave/media/mediamanager/mediamanager.h b/tdeioslave/media/mediamanager/mediamanager.h index d8a31d8e1..3c49109f3 100644 --- a/tdeioslave/media/mediamanager/mediamanager.h +++ b/tdeioslave/media/mediamanager/mediamanager.h @@ -41,6 +41,8 @@ public: MediaManager(const TQCString &obj); ~MediaManager(); + const Medium* getMediumByName(const TQString &name); + k_dcop: TQStringList fullList(); TQStringList properties(const TQString &name); @@ -57,6 +59,7 @@ k_dcop: TQStringVariantMap unlockByNode(const TQString &deviceNode, const TQString &password); TQStringVariantMap lockByNode(const TQString &deviceNode); + TQString mimeType(const TQString &name); TQString nameForLabel(const TQString &label); ASYNC setUserLabel(const TQString &name, const TQString &label); |