alarm_action_t Struct Reference

When and whether to send D-Bus messages, Execute commands or Snooze. More...


Data Fields

unsigned flags
char * label
char * exec_command
char * dbus_interface
char * dbus_service
char * dbus_path
char * dbus_name
char * dbus_args


Detailed Description

When and whether to send D-Bus messages, Execute commands or Snooze.

Describes one action related to alarm_event_t

All dynamically allocated members have set/get methods. If these are used, alarm_action_delete and alarm_action_dtor will release all dynamically allocated memory related to alarm_action_t.

See also:


Field Documentation

Bitwise or of ALARM_ACTION_xxx flags, see alarmactionflags

Button name to be used in system ui dialog, or NULL = not shown on dialog.
Note: apart from non-null, non-empty label string also ALARM_ACTION_WHEN_TRIGGERED bit needs to be set in flags for the button to be shown on dialog.

See also:

Exec callback: command line to execute

See also:

DBus callback: D-Bus name for service (method call), or
NULL = send a signal

See also:

DBus callback: D-Bus object path

See also:

DBus callback: D-Bus member name (name of method or signal)

See also:

DBus callback: serialized dbus arguments

Note: the serialization protocol is considered private to libalarm, use alarm_action_set_dbus_args() to set up this field.

See also:


The documentation for this struct was generated from the following file:

Generated on Mon Feb 22 09:43:04 2010 for libalarm by  doxygen 1.5.6