/*
- * $Id: rb_ecore.c 365 2006-02-14 21:50:47Z tilman $
+ * $Id: rb_ecore.c 366 2006-02-14 21:53:15Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
/* SIGNAL_HUP */
ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_HUP,
- "SignalHup", c);
+ "SignalHupEvent", c);
/* SIGNAL_POWER */
ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_POWER,
- "SignalPower", c);
+ "SignalPowerEvent", c);
#if 0
/* EXE_EXIT */
- ADD_EVENT (mEcore, ECORE_EVENT_EXE_EXIT, "ExeExit", c);
+ ADD_EVENT (mEcore, ECORE_EVENT_EXE_EXIT, "ExeExitEvent", c);
rb_define_private_method (c, "initialize", c_ev_exe_exit_init, 1);
#endif
/* SIGNAL_USER */
ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_USER,
- "SignalUser", c);
+ "SignalUserEvent", c);
rb_define_private_method (c, "initialize", c_ev_sig_user_init, 1);
/* SIGNAL_EXIT */
ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_EXIT,
- "SignalExit", c);
+ "SignalExitEvent", c);
rb_define_private_method (c, "initialize", c_ev_sig_exit_init, 1);
/* SIGNAL_REALTIME */
ADD_EVENT (mEcore, ECORE_EVENT_SIGNAL_REALTIME,
- "SignalRealtime", c);
+ "SignalRealtimeEvent", c);
rb_define_private_method (c, "initialize", c_ev_sig_rt_init, 1);
}
/*
- * $Id: rb_server.c 365 2006-02-14 21:50:47Z tilman $
+ * $Id: rb_server.c 366 2006-02-14 21:53:15Z tilman $
*
* Copyright (C) 2005 ruby-ecore team (see AUTHORS)
*
rb_define_alias (c, "<<", "write");
rb_define_method (c, "delete", c_delete, 0);
- ADD_EVENT (m, ECORE_CON_EVENT_SERVER_ADD, "ServerAdd", c);
+ ADD_EVENT (m, ECORE_CON_EVENT_SERVER_ADD, "ServerAddEvent", c);
rb_define_private_method (c, "initialize",
c_ev_server_add_init, 1);
- ADD_EVENT (m, ECORE_CON_EVENT_SERVER_DATA, "ServerData", c);
+ ADD_EVENT (m, ECORE_CON_EVENT_SERVER_DATA, "ServerDataEvent", c);
rb_define_private_method (c, "initialize",
c_ev_server_data_init, 1);
- ADD_EVENT (m, ECORE_CON_EVENT_SERVER_DEL, "ServerDel", c);
+ ADD_EVENT (m, ECORE_CON_EVENT_SERVER_DEL, "ServerDelEvent", c);
rb_define_private_method (c, "initialize",
c_ev_server_del_init, 1);
}
/*
- * $Id: rb_ecore_x.c 365 2006-02-14 21:50:47Z tilman $
+ * $Id: rb_ecore_x.c 366 2006-02-14 21:53:15Z tilman $
*
* Copyright (C) 2004 ruby-ecore team (see AUTHORS)
*
DEF_CONST (c, ECORE_X_MODIFIER_, WIN);
/* events */
- ADD_EVENT (mX, ECORE_X_EVENT_KEY_DOWN, "KeyDown", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_KEY_DOWN, "KeyDownEvent", c);
rb_define_private_method (c, "initialize",
c_ev_key_down_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_KEY_UP, "KeyUp", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_KEY_UP, "KeyUpEvent", c);
rb_define_private_method (c, "initialize",
c_ev_key_down_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_BUTTON_DOWN,
- "MouseButtonDown", c);
+ "MouseButtonDownEvent", c);
rb_define_private_method (c, "initialize",
c_ev_mouse_button_down_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_BUTTON_UP,
- "MouseButtonUp", c);
+ "MouseButtonUpEvent", c);
rb_define_private_method (c, "initialize",
c_ev_mouse_button_up_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_MOVE, "MouseMove", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_MOVE, "MouseMoveEvent", c);
rb_define_private_method (c, "initialize",
c_ev_mouse_move_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_IN, "MouseIn", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_IN, "MouseInEvent", c);
rb_define_private_method (c, "initialize",
c_ev_mouse_in_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_OUT, "MouseOut", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_MOUSE_OUT, "MouseOutEvent", c);
rb_define_private_method (c, "initialize",
c_ev_mouse_in_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_FOCUS_IN,
- "WindowFocusIn", c);
+ "WindowFocusInEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_focus_change_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_FOCUS_OUT,
- "WindowFocusOut", c);
+ "WindowFocusOutEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_focus_change_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_DELETE_REQUEST,
- "WindowDeleteRequest", c);
+ "WindowDeleteRequestEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_delete_request_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_CONFIGURE_REQUEST,
- "WindowConfigureRequest", c);
+ "WindowConfigureRequestEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_configure_request_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_CONFIGURE,
- "WindowConfigure", c);
+ "WindowConfigureEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_configure_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_RESIZE_REQUEST,
- "WindowResizeRequest", c);
+ "WindowResizeRequestEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_resize_request_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_DAMAGE, "WindowDamage", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_DAMAGE, "WindowDamageEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_damage_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_VISIBILITY_CHANGE,
- "WindowVisibilityChange", c);
+ "WindowVisibilityChangeEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_visibility_change_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_CREATE, "WindowCreate", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_CREATE, "WindowCreateEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_create_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_DESTROY, "WindowDestroy", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_DESTROY, "WindowDestroyEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_delete_request_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_SHOW, "WindowShow", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_SHOW, "WindowShowEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_delete_request_init, 1);
- ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_HIDE, "WindowHide", c);
+ ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_HIDE, "WindowHideEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_delete_request_init, 1);
ADD_EVENT (mX, ECORE_X_EVENT_WINDOW_SHOW_REQUEST,
- "WindowShowRequest", c);
+ "WindowShowRequestEvent", c);
rb_define_private_method (c, "initialize",
c_ev_win_show_request_init, 1);
}