summaryrefslogtreecommitdiffstats
path: root/gtk/src/values.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/values.h')
-rw-r--r--gtk/src/values.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/src/values.h b/gtk/src/values.h
index 9c2072710..87f7010cc 100644
--- a/gtk/src/values.h
+++ b/gtk/src/values.h
@@ -84,4 +84,16 @@ GhbValue* ghb_boolean_value(gboolean bval);
void debug_show_value(GhbValue *gval);
void debug_show_type(GhbType tp);
+void ghb_dict_set_string(GhbValue *dict, const gchar *key, const gchar *sval);
+void ghb_dict_set_double(GhbValue *dict, const gchar *key, gdouble dval);
+void ghb_dict_set_int(GhbValue *dict, const gchar *key, gint64 ival);
+void ghb_dict_set_bool(GhbValue *dict, const gchar *key, gboolean bval);
+
+GhbValue* ghb_dict_get_value(const GhbValue *dict, const gchar *key);
+gboolean ghb_dict_get_bool(const GhbValue *dict, const gchar *key);
+gint64 ghb_dict_get_int(const GhbValue *dict, const gchar *key);
+gdouble ghb_dict_get_double(const GhbValue *dict, const gchar *key);
+gchar* ghb_dict_get_string_xform(const GhbValue *dict, const gchar *key);
+const gchar* ghb_dict_get_string(const GhbValue *dict, const gchar *key);
+
#endif // _GHB_VALUES_H_