summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/mediamanager/medialist.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/medialist.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/medialist.h')
-rw-r--r--tdeioslave/media/mediamanager/medialist.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/tdeioslave/media/mediamanager/medialist.h b/tdeioslave/media/mediamanager/medialist.h
index 59ddb6bd2..f4b088526 100644
--- a/tdeioslave/media/mediamanager/medialist.h
+++ b/tdeioslave/media/mediamanager/medialist.h
@@ -1,5 +1,5 @@
/* This file is part of the KDE Project
- Copyright (c) 2004 K�vin Ottens <ervin ipsquad net>
+ Copyright (c) 2004 Kévin Ottens <ervin ipsquad net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
@@ -34,6 +34,7 @@ public:
const TQPtrList<Medium> list() const;
const Medium *findById(const TQString &id) const;
const Medium *findByName(const TQString &name) const;
+ const Medium *findByNode(const TQString &node) const;
const Medium *findByClearUdi(const TQString &name);
public:
@@ -73,8 +74,9 @@ signals:
private:
TQPtrList<Medium> m_media;
- TQMap<TQString,Medium*> m_nameMap;
- TQMap<TQString,Medium*> m_idMap;
+ TQMap<TQString, Medium*> m_idMap;
+ TQMap<TQString, Medium*> m_nameMap;
+ TQMap<TQString, Medium*> m_nodeMap;
};
#endif