diff options
author | jstebbins <[email protected]> | 2015-04-03 21:12:28 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-04-03 21:12:28 +0000 |
commit | 550d34e287cf12dd5347bdd0ddecf904a6c06c31 (patch) | |
tree | 8fc6857af6529980fc0cde6c3b1ee4fc8bc082fd /gtk/src/values.h | |
parent | a80e6ccc6eea8bae648e5a6cf1573361335296f2 (diff) |
LinGui: more refactoring
mostly moving "settings" stuff to "values"
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7047 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/values.h')
-rw-r--r-- | gtk/src/values.h | 12 |
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_ |