summaryrefslogtreecommitdiffstats
path: root/lib/e17/ecore.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-19 17:48:50 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-19 17:48:50 +0200
commit1885a987a7d9178b51c6e447dc3bb0fc8ac325ea (patch)
tree43c05dd7e1ae279699dc0e6f3f1349f20ca57a15 /lib/e17/ecore.rb
parentfc35c3abd3ea359e6977b5cd59118db5b9b09a51 (diff)
downloadffi-efl-1885a987a7d9178b51c6e447dc3bb0fc8ac325ea.zip
ffi-efl-1885a987a7d9178b51c6e447dc3bb0fc8ac325ea.tar.gz
add ecore event specs
Diffstat (limited to 'lib/e17/ecore.rb')
-rw-r--r--lib/e17/ecore.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/e17/ecore.rb b/lib/e17/ecore.rb
index fe4786f..b0be458 100644
--- a/lib/e17/ecore.rb
+++ b/lib/e17/ecore.rb
@@ -6,6 +6,15 @@ require 'e17/ecore/ecore-ffi'
module E17
module Ecore
#
+ # ecore-1/Ecore.h line 95
+ EVENT_NONE = 0
+ EVENT_SIGNAL_USER = 1 # User signal event
+ EVENT_SIGNAL_HUP = 2 # Hup signal event
+ EVENT_SIGNAL_EXIT = 3 # Exit signal event
+ EVENT_SIGNAL_POWER = 4 # Power signal event
+ EVENT_SIGNAL_REALTIME = 5 # Realtime signal event
+ EVENT_COUNT = 6
+ #
class EcorePipe
def initialize cb, data
@ptr = E17::API.ecore_pipe_add cb, data