Review Request: Add isInUse() method to StorageDrive interface
Jacopo De Simoi
wilderkde at gmail.com
Wed Nov 10 14:57:02 GMT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5770/
-----------------------------------------------------------
(Updated 2010-11-10 14:57:02.366292)
Review request for kdelibs, Will Stephenson and Kevin Ottens.
Changes
-------
Reverse logic, now we have a method isInUse, as suggested by wstephenson.
Summary (updated)
-------
This patch adds a isInUse() method in the StorageDrive interface.
The usecase for this are applications that need to know if it is possible to safely unplug a device by checking that the isInUse() property on the parent drive is false.
Diffs (updated)
-----
trunk/KDE/kdelibs/solid/solid/storagedrive.h 1195159
trunk/KDE/kdelibs/solid/solid/storagedrive.cpp 1195159
Diff: http://svn.reviewboard.kde.org/r/5770/diff
Testing
-------
Thanks,
Jacopo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20101110/9faa5ebd/attachment.htm>
More information about the kde-core-devel
mailing list