00001 00012 #ifdef GITKR_WIDGET_OPTIONCHOICE_C 00013 00014 void gitkr_widget_optionchoice_new(GitkrPhoneWidgetPtr widget,GitkDialogPtr dialog,xmlNodePtr node); 00015 void gitkr_widget_optionchoice_output(GitkrPhoneWidgetPtr widget,gboolean active); 00016 gboolean gitkr_widget_optionchoice_handle(GitkrPhoneWidgetPtr widget); 00017 gint gitkr_widget_optionchoice_value_output(gint value,GList *choices,gboolean all); 00018 GList *gitkr_widget_optionchoice_get_choices(GitkrPhoneWidgetPtr widget); 00019 void gitkr_widget_optionchoice_free_choices(GList *choices); 00020 gint gitkr_widget_optionchoice_get_position(GList *choices,gint value); 00021 GList *gitkr_widget_optionchoice_get_ids(GitkrPhoneWidgetPtr widget); 00022 void gitkr_widget_optionchoice_free_ids(GList *ids); 00023 void gitkr_widget_optionchoice_free_list(GList *items); 00024 #else 00025 #ifdef GITK_RENDERER_C 00026 extern void gitkr_widget_optionchoice_new(GitkrPhoneWidgetPtr widget,GitkDialogPtr dialog,xmlNodePtr node); 00027 extern void gitkr_widget_optionchoice_output(GitkrPhoneWidgetPtr widget,gboolean active); 00028 extern gboolean gitkr_widget_optionchoice_handle(GitkrPhoneWidgetPtr widget); 00029 extern GList *gitkr_widget_optionchoice_get_choices(GitkrPhoneWidgetPtr widget); 00030 extern void gitkr_widget_optionchoice_free_choices(GList *choices); 00031 extern GList *gitkr_widget_optionchoice_get_ids(GitkrPhoneWidgetPtr widget); 00032 extern void gitkr_widget_optionchoice_free_ids(GList *ids); 00033 #endif 00034 #endif /* GITKR_WIDGET_OPTIONCHOICE_H */