00001
00012 #ifndef GITKR_EVENTLOOP_H
00013 #define GITKR_EVENTLOOP_H
00014
00015 #ifdef GITKR_EVENTLOOP_C
00016 gint sighandler_window_on_close(GtkWidget *gtk_widget, GdkEvent *gdkEvent, gpointer data);
00017 void sighandler_window_on_destroy(GtkWidget *gtk_widget, gpointer data);
00018 gboolean sighandler_widget_on_focus_in(GtkWidget *widget,GdkEventFocus *event,gpointer data);
00019 gboolean sighandler_widget_on_focus_out(GtkWidget *widget,GdkEventFocus *event,gpointer data);
00020 void sighandler_widget_on_clicked(GtkWidget *gtk_widget, gpointer data);
00021 void sighandler_editable_widget_on_changed(GtkEditable *gtk_widget, gpointer data);
00022 void sighandler_option_widget_on_changed(GtkOptionMenu *gtk_widget, gpointer data);
00023 #else
00024 #ifdef GITK_RENDERER_C
00025 extern gint sighandler_window_on_close(GtkWidget *gtk_widget, GdkEvent *gdkEvent, gpointer data);
00026 extern void sighandler_window_on_destroy(GtkWidget *gtk_widget, gpointer data);
00027 extern gboolean sighandler_widget_on_focus_in(GtkWidget *widget,GdkEventFocus *event,gpointer data);
00028 extern gboolean sighandler_widget_on_focus_out(GtkWidget *widget,GdkEventFocus *event,gpointer data);
00029 extern void sighandler_widget_on_clicked(GtkWidget *gtk_widget, gpointer data);
00030 extern void sighandler_editable_widget_on_changed(GtkEditable *gtk_widget, gpointer data);
00031 extern void sighandler_option_widget_on_changed(GtkOptionMenu *gtk_widget, gpointer data);
00032 #endif
00033 #endif
00034
00035 #endif