00001
00012 #ifndef GITKR_TOOLS_H
00013 #define GITKR_TOOLS_H
00014
00015 #ifdef GITKR_TOOLS_C
00016 gchar *gitkr_cxpath_get_string(GitkDialogPtr dialog, xmlXPathCompExprPtr xpath_expr, xmlNodePtr root_node);
00017
00018 void gitkr_widget_set_value(GitkDialogPtr const dialog,gchar * const widget_id,const gchar *name,const gchar *data);
00019 gchar *gitkr_widget_get_value(GitkDialogPtr const dialog,gchar * const widget_id,const gchar *name);
00020
00021
00022
00023 #else
00024 #ifdef GITK_RENDERER_C
00025 extern gchar *gitkr_cxpath_get_string(GitkDialogPtr dialog, xmlXPathCompExprPtr xpath_expr, xmlNodePtr root_node);
00026
00027 extern void gitkr_widget_set_value(GitkDialogPtr const dialog,gchar * const widget_id,const gchar *name,const gchar *data);
00028 extern gchar *gitkr_widget_get_value(GitkDialogPtr const dialog,gchar * const widget_id,const gchar *name);
00029
00030 extern guint color_name_to_code(gchar *name,guint def);
00031 extern gboolean color_name_to_attr(gchar *name,gboolean def);
00032 #endif
00033 #endif
00034
00035 #endif