OSDN Git Service

MacGui: Remove Target Size as a rate control option as it doesn't really work correct...
[handbrake-jp/handbrake-jp-git.git] / gtk / src / values.h
index ceea094..d28727f 100644 (file)
@@ -25,33 +25,17 @@ typedef struct
        gsize size;
 } ghb_rawdata_t;
 
-typedef struct
-{
-       gint index;
-       gchar *option;
-       gchar *shortOpt;
-       gchar *svalue;
-       gint ivalue;
-} ghb_combodata_t;
-
-GType ghb_combodata_get_type(void);
-void ghb_value_set_combodata(
-       GValue *gval, 
-       gint index,
-       const gchar *option,
-       const gchar *shortOpt,
-       const gchar *svalue,
-       gint ivalue);
-
 GType ghb_rawdata_get_type(void);
 
 GType ghb_array_get_type(void);
 GType ghb_dict_get_type(void);
 GValue* ghb_array_get_nth(const GValue *array, gint ii);
 void ghb_array_insert(GValue *gval, guint ii, GValue *val);
+void ghb_array_replace(GValue *gval, guint ii, GValue *val);
 void ghb_array_append(GValue *gval, GValue *val);
 void ghb_array_remove(GValue *gval, guint ii);
 gint ghb_array_len(const GValue *gval);
+void ghb_array_copy(GValue *arr1, GValue *arr2, gint count);
 
 void ghb_value_free(GValue *gval);
 GValue* ghb_value_new(GType gtype);
@@ -74,12 +58,6 @@ GValue* ghb_int64_value_new(gint64 ival);
 GValue* ghb_int_value_new(gint ival);
 GValue* ghb_double_value_new(gdouble dval);
 GValue* ghb_boolean_value_new(gboolean bval);
-GValue* ghb_combo_value_new(
-       gint index,
-       const gchar *option,
-       const gchar *shortOpt,
-       const gchar *svalue,
-       gint ivalue);
 GValue* ghb_dict_value_new(void);
 GValue* ghb_array_value_new(guint size);
 void ghb_array_value_reset(GValue *gval, guint size);
@@ -89,8 +67,11 @@ GValue* ghb_rawdata_value_new(ghb_rawdata_t *data);
 
 void ghb_dict_insert(GValue *gval, gchar *key, GValue *val);
 void ghb_dict_iter_init(GHashTableIter *iter, GValue *gval);
-GValue* ghb_dict_lookup(GValue *gval, const gchar *key);
+GValue* ghb_dict_lookup(const GValue *gval, const gchar *key);
 gboolean ghb_dict_remove(GValue *gval, const gchar *key);
+void ghb_register_transforms(void);
 
+void debug_show_value(GValue *gval);
+void debug_show_type(GType tp);
 
 #endif // _GHB_VALUES_H_