~ubuntu-branches/ubuntu/maverick/hal/maverick

« back to all changes in this revision

Viewing changes to hald/linux/acpi.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-23 12:33:58 UTC
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 90.
  • Revision ID: james.westby@ubuntu.com-20071023123358-xaf8mjc5n84d5gtz
Tags: upstream-0.5.10
ImportĀ upstreamĀ versionĀ 0.5.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
gboolean acpi_rescan_device (HalDevice *d);
34
34
HotplugEvent *acpi_generate_add_hotplug_event (HalDevice *d);
35
35
HotplugEvent *acpi_generate_remove_hotplug_event (HalDevice *d);
 
36
void acpi_check_is_laptop (const gchar *acpi_type);
36
37
#else /* HAVE_ACPI */
37
38
static inline gboolean acpi_synthesize_hotplug_events (void) {return FALSE;}
38
39
static inline void hotplug_event_begin_add_acpi (const gchar *acpi_path, int acpi_type, HalDevice *parent, void *end_token) {return;}
40
41
static inline gboolean acpi_rescan_device (HalDevice *d) {return FALSE;}
41
42
static inline HotplugEvent *acpi_generate_add_hotplug_event (HalDevice *d) {return NULL;}
42
43
static inline HotplugEvent *acpi_generate_remove_hotplug_event (HalDevice *d) {return NULL;}
 
44
static inline void acpi_check_is_laptop (const gchar *acpi_type) {return;}
43
45
#endif /* HAVE_ACPI */
44
46
 
45
47
#endif /* ACPI_H */