API addition in Solid

Matthias Kretz kretz at kde.org
Sat Nov 17 15:16:01 GMT 2007


Hi,

I need a globally unique identifier for the devices listed by Solid. And 
Solid::Device::udi() is not that.

So I added the API and implementation for it, but the HAL implementation 
currently is just proof-of-concept and the fakecomputer.xml doesn't have any 
uniqueIdentifiers for now.

I need this to fix the problem of initial ordering of audio devices in phonon. 
Without a globally unique identifier I cannot have a "hardware database" 
where the ordering of devices can be "fixed".

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: solid-unique-id.patch
Type: text/x-diff
Size: 4841 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071117/020c1b3b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071117/020c1b3b/attachment.sig>


More information about the kde-core-devel mailing list