summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-01-03 23:51:49 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-01-03 23:51:49 +0100
commit4be1e822ba51ce9d6e637952cbd71849eb856bf2 (patch)
tree4d77b2633f90a0aa9cac54d034a18d2bc2ba9d4d
parentb58bd1ec64eaec38112e27474fc7dd857009581d (diff)
downloadffi-efl-4be1e822ba51ce9d6e637952cbd71849eb856bf2.zip
ffi-efl-4be1e822ba51ce9d6e637952cbd71849eb856bf2.tar.gz
enotify: add missing enums
-rw-r--r--lib/efl/native/enotify.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/efl/native/enotify.rb b/lib/efl/native/enotify.rb
index 835a504..111a73b 100644
--- a/lib/efl/native/enotify.rb
+++ b/lib/efl/native/enotify.rb
@@ -22,6 +22,17 @@ module Efl
#
ffi_lib 'enotify'
#
+ # ENUMS
+ # typedef enum E_Notification_Urgency {...} E_Notification_Urgency;
+ enum :e_notification_urgency, [ :e_notification_urgency_low, 0, :e_notification_urgency_normal, 1, :e_notification_urgency_critical, 2 ]
+ # typedef enum E_Closed_Action {...} E_Closed_Action;
+ enum :e_notification_closed_action, [ :e_notification_closed_expired, 0, :e_notification_closed_dismissed, 1, :e_notification_closed_requested, 2,
+ :e_notification_closed_undefined, 3 ]
+
+ # typedef enum E_Notification_Hint_Type {...} E_Notification_Hint_Type;
+ enum :e_notification_hint_type, [ :e_notification_hint_urgency, (1 << 0), :e_notification_hint_category, (1 << 1), :e_notification_hint_desktop, (1 << 2),
+ :e_notification_hint_sound_file, (1 << 3), :e_notification_hint_transient, (1 << 4), :e_notification_hint_resident, (1 << 5),
+ :e_notification_hint_action_icons, (1 << 6), :e_notification_hint_suppress_sound, 0x10, :e_notification_hint_xy, 0x20, :e_notification_hint_image_data, 0x40 ]
# TYPEDEFS
# typedef struct E_Notification_Image E_Notification_Image;
typedef :pointer, :e_notification_image