Revision 704641
Go back to digest for 26th August 2007Features in KDE Base
Kevin Ottens committed changes in /trunk/KDE/kdelibs/solid/solid:
Add a driverHandle() method similar to the one in AudioInterface to PortableMediaPlayer and Camera.
Allows to get the information needed to access the device with a particular driver without having to rely on backend dependent data.
This way no need to expose low level related methods.
Jeff, in the hal backend I only implemented the support for the mtp driver, that will allow you to completely remove the use of GenericInterface in your ioslave. You'll have to add the support for the other drivers though. Thanks in advance.
WARNING: Please don't commit code depending on those new methods outside of kdelibs before coming monday.
File Changes
Modified 14 files
- /trunk/KDE/kdelibs/solid/solid
- /camera.cpp
- /camera.h
- /portablemediaplayer.cpp
- /portablemediaplayer.h
- /ifaces/camera.h
- /ifaces/portablemediaplayer.h
- /backends/fakehw/fakecamera.cpp
- /backends/fakehw/fakecamera.h
- /backends/fakehw/fakeportablemediaplayer.cpp
- /backends/fakehw/fakeportablemediaplayer.h
- /backends/hal/halcamera.cpp
- /backends/hal/halcamera.h
- /backends/hal/halportablemediaplayer.cpp
- /backends/hal/halportablemediaplayer.h
14 files changed in total