diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-29 00:10:14 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-29 00:10:14 +0100 |
commit | 1d135c424b776efa3a0207a37d2a43c7ba9844a9 (patch) | |
tree | 23beb0c2c61a16134055411627c54f8e9f76ced3 /lib/efl/native/enotification_daemon.rb | |
parent | 146c39a8387b4adcf3c027f1c373bd27060747b0 (diff) | |
download | ffi-efl-1d135c424b776efa3a0207a37d2a43c7ba9844a9.zip ffi-efl-1d135c424b776efa3a0207a37d2a43c7ba9844a9.tar.gz |
remove dbus related bindings, eldbus has to be done
Diffstat (limited to 'lib/efl/native/enotification_daemon.rb')
-rw-r--r-- | lib/efl/native/enotification_daemon.rb | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/lib/efl/native/enotification_daemon.rb b/lib/efl/native/enotification_daemon.rb deleted file mode 100644 index 8ab2cf3..0000000 --- a/lib/efl/native/enotification_daemon.rb +++ /dev/null @@ -1,66 +0,0 @@ -#! /usr/bin/env ruby -# -*- coding: UTF-8 -*- -# -require 'efl/native' -require 'efl/native/enotify' -# -module Efl - # - module EnotificationDaemon - # - FCT_PREFIX = 'e_notification_daemon_' unless const_defined? :FCT_PREFIX - # - def self.method_missing meth, *args, &block - sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX - self.send sym, *args, &block - end - # - end - # - module Native - # - ffi_lib 'enotify.so.1' - # - # TYPEDEFS - # typedef struct E_Notification_Daemon E_Notification_Daemon; - typedef :pointer, :e_notification_daemon - # typedef struct E_Notification_View E_Notification_View; - typedef :pointer, :e_notification_view - # - # CALLBACKS - # typedef int (*E_Notification_Daemon_Callback_Notify) (E_Notification_Daemon *daemon, E_Notification *notification); - callback :e_notification_daemon_callback_notify_cb, [ :e_notification_daemon, :e_notification ], :int - # typedef void (*E_Notification_Daemon_Callback_Close_Notification) (E_Notification_Daemon *daemon, unsigned int notification_id); - callback :e_notification_daemon_callback_close_notification_cb, [ :e_notification_daemon, :uint ], :void - # - # FUNCTIONS - fcts = [ - # EAPI int e_notification_daemon_init(void); - [ :e_notification_daemon_init, [ ], :int ], - # EAPI int e_notification_daemon_shutdown(void); - [ :e_notification_daemon_shutdown, [ ], :int ], - # EAPI E_Notification_Daemon *e_notification_daemon_add(const char *name, const char *vendor); - [ :e_notification_daemon_add, [ :string, :string ], :e_notification_daemon ], - # EAPI void e_notification_daemon_free(E_Notification_Daemon *d); - [ :e_notification_daemon_free, [ :e_notification_daemon ], :void ], - # EAPI void e_notification_daemon_data_set(E_Notification_Daemon *daemon, void *data); - [ :e_notification_daemon_data_set, [ :e_notification_daemon, :pointer ], :void ], - # EAPI void *e_notification_daemon_data_get(E_Notification_Daemon *daemon); - [ :e_notification_daemon_data_get, [ :e_notification_daemon ], :pointer ], - # EAPI void e_notification_daemon_callback_notify_set(E_Notification_Daemon *daemon, E_Notification_Daemon_Callback_Notify func); - [ :e_notification_daemon_callback_notify_set, [ :e_notification_daemon, :e_notification_daemon_callback_notify_cb ], :void ], - # EAPI void e_notification_daemon_callback_close_notification_set(E_Notification_Daemon *daemon, E_Notification_Daemon_Callback_Close_Notification func); - [ :e_notification_daemon_callback_close_notification_set, [ :e_notification_daemon, :e_notification_daemon_callback_close_notification_cb ], - :void ], - # EAPI void e_notification_daemon_signal_notification_closed(E_Notification_Daemon *daemon, unsigned int id, E_Notification_Closed_Reason reason); - [ :e_notification_daemon_signal_notification_closed, [ :e_notification_daemon, :uint, :e_notification_closed_reason ], :void ], - # EAPI void e_notification_daemon_signal_action_invoked(E_Notification_Daemon *daemon, unsigned int notification_id, const char *action_id); - [ :e_notification_daemon_signal_action_invoked, [ :e_notification_daemon, :uint, :string ], :void ], - ] - # - attach_fcts fcts - # - end -end -# -# EOF |