Data Fields | |
unsigned | flags |
char * | label |
char * | exec_command |
char * | dbus_interface |
char * | dbus_service |
char * | dbus_path |
char * | dbus_name |
char * | dbus_args |
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:
unsigned alarm_action_t::flags |
Bitwise or of ALARM_ACTION_xxx flags, see alarmactionflags
char* alarm_action_t::label |
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: interface
See also:
DBus callback: D-Bus name for service (method call), or
NULL = send a signal
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: