Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

Printer class
[Linux 2.6 support]

Printer class. More...

Functions

dbus_bool_t printer_class_device_accept (ClassDeviceHandler *self, const char *path, struct sysfs_class_device *class_device, dbus_bool_t is_probing)
void printer_class_pre_process (ClassDeviceHandler *self, HalDevice *d, const char *sysfs_path, struct sysfs_class_device *class_device)
 This method is called just before the device is either merged onto the sysdevice or added to the GDL (cf.


Variables

ClassDeviceHandler printer_class_handler
 Method specialisations for input device class.


Detailed Description

Printer class.


Function Documentation

void printer_class_pre_process ClassDeviceHandler self,
HalDevice *  d,
const char *  sysfs_path,
struct sysfs_class_device *  class_device
[static]
 

This method is called just before the device is either merged onto the sysdevice or added to the GDL (cf.

merge_or_add). This is useful for extracting more information about the device through e.g. ioctl's using the device file property and also for setting info.category|capability.

Parameters:
self Pointer to class members
d The HalDevice object of the instance of this device class
sysfs_path The path in sysfs (including mount point) of the class device in sysfs
class_device Libsysfs object representing class device instance

Definition at line 92 of file printer_class_device.c.

References hal_device_add_capability().


Variable Documentation

ClassDeviceHandler printer_class_handler
 

Initial value:

 {
    class_device_init,                  
    class_device_detection_done,        
    class_device_shutdown,              
    class_device_tick,                  
    printer_class_device_accept,        
    class_device_visit,                 
    class_device_removed,               
    class_device_udev_event,            
    class_device_get_device_file_target,
    printer_class_pre_process,          
    class_device_post_merge,            
    class_device_got_udi,               
    NULL,                               
    "usb",                              
    "printer",                          
    TRUE,                               
    TRUE                                
}
Method specialisations for input device class.

Definition at line 166 of file printer_class_device.c.


Generated on Sat Apr 24 19:57:51 2004 for HAL by doxygen 1.3.6-20040222