Hi,

Seems your code is more or less similar to the latest implementation (I only 
briefly looked at the Linux one), but we take different approach for caching.
Your idea for file system type and drive name / label (we have UUID on the 
other hand, but maybe not as readable as label) seem interesting.

You can check the latest code (still under development, and some more will be 
published soon) at:
http://qt.gitorious.org/qt/qtsystems/blobs/master/src/systeminfo/qstorageinfo.h

================
Xizhi Zhu (Steven)

Software Engineer @ Qt
Nokia

Mobile: +358 (0)50 4801247


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of ext 
???? ??????????
Sent: 07. heinäkuuta 2011 22:07
To: [email protected]
Subject: [Qt5-feedback] Drive Information

I've written class for receiving different information about drives present in 
filesystem (https://gitorious.org/qdrive/qdrive/blobs/master/src/qdriveinfo.h)
Class is implemented for Windows, Mac OS, Linux and Symbian and implementation 
is better than in QtMobility.

Does Qt5 needs this functionality?

In fact, it seems that such classes exists in libsolid, but why not to move 
code to QtCore on platforms supported by Qt?

Also i have class for monitoring of appearance of drives in system 
(https://gitorious.org/qdrive/qdrive/blobs/master/src/qdrivecontroller.h). This 
monitoring can be expanded to provide request for application that OS wants to 
unmount volume (and Qt and app can unregister resources on that drive - for 
example QFSWatcher still locks flash drives on Win and they can't be unmounted 
properly; we can monitor requests and free resources correctly)

Ivan.
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to