a libary that can ask hald for a list of surten devices

Kristof Vansant de_lupus at pandora.be
Tue Aug 3 07:14:48 PDT 2004


I forgot something:

If hald is not installed the libary should try to detect using the proc
file system.

totem has some interresting code to put in a common library:
http://cvs.gnome.org/viewcvs/totem/src/cd-drive.c?rev=1.27&view=auto

lupusBE (Kristof Vansant Belgium)

On Tue, 2004-08-03 at 13:50, Kristof Vansant wrote:
> I was thinking a common libary that can ask hald for surten hardware.
> This could be interresting for surten programme's.
> 
> example: totem has an menuitem dvd and cdrom
> 
> if totem could ask the common libary to ask hald what media devices are
> installed. totem can only show these devices. totem does not need to
> have hald support itself.
> 
> And other apps can also use this libary then, instead of putting hald
> support in each app.
> 
> get_scanners()
> get_dvd()
> get_cdrom()
> get_cdr()
> get_keyboards()
> etc ...
> 
> _______________________________________________
> hal mailing list
> hal at freedesktop.org
> http://freedesktop.org/mailman/listinfo/hal
> 

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list