dee-model.h   dee-model.h 
skipping to change at line 81 skipping to change at line 81
* Compares @row1 and @row2. Mainly used with dee_model_insert_sorted() and * Compares @row1 and @row2. Mainly used with dee_model_insert_sorted() and
* dee_model_find_sorted(). * dee_model_find_sorted().
* *
* Returns: -1, 0, or 1 if @row1 is respectively less than, equal, or great er * Returns: -1, 0, or 1 if @row1 is respectively less than, equal, or great er
* than @row2. * than @row2.
*/ */
typedef gint (*DeeCompareRowFunc) (GVariant** row1, typedef gint (*DeeCompareRowFunc) (GVariant** row1,
GVariant** row2, GVariant** row2,
gpointer user_data); gpointer user_data);
/**
* DeeCompareRowSizedFunc:
* @row1: (array length=row1_length): Row data
* @row1_length: The number of elements in row1 array
* @row2: (array length=row2_length): Row data to compare with
* @row2_length: The number of elements in row2 array
* @user_data: (closure): User data passed to comparison function
*
* Compares @row1 and @row2. Mainly used with
* dee_model_insert_row_sorted_with_sizes() and
* dee_model_find_row_sorted_with_sizes().
*
* Returns: -1, 0, or 1 if @row1 is respectively less than, equal, or great
er
* than @row2.
*/
typedef gint (*DeeCompareRowSizedFunc) (GVariant** row1,
guint row1_length,
GVariant** row2,
guint row2_length,
gpointer user_data);
struct _DeeModelIface struct _DeeModelIface
{ {
GTypeInterface g_iface; GTypeInterface g_iface;
/* Signals */ /* Signals */
void (*row_added) (DeeModel *self, void (*row_added) (DeeModel *self,
DeeModelIter *iter); DeeModelIter *iter);
void (*row_removed) (DeeModel *self, void (*row_removed) (DeeModel *self,
DeeModelIter *iter); DeeModelIter *iter);
skipping to change at line 294 skipping to change at line 315
DeeModelIter* dee_model_insert_row_before (DeeModel *self, DeeModelIter* dee_model_insert_row_before (DeeModel *self,
DeeModelIter *iter, DeeModelIter *iter,
GVariant **row_members); GVariant **row_members);
DeeModelIter* dee_model_insert_row_sorted (DeeModel *self, DeeModelIter* dee_model_insert_row_sorted (DeeModel *self,
GVariant **row_member s, GVariant **row_member s,
DeeCompareRowFunc cmp_func, DeeCompareRowFunc cmp_func,
gpointer user_data) ; gpointer user_data) ;
DeeModelIter* dee_model_insert_row_sorted_with_sizes (DeeModel
*self,
GVariant
**row_members,
DeeCompareRowSizedF
unc cmp_func,
gpointer
user_data);
DeeModelIter* dee_model_insert_sorted (DeeModel *self, DeeModelIter* dee_model_insert_sorted (DeeModel *self,
DeeCompareRowFunc cmp_func, DeeCompareRowFunc cmp_func,
gpointer user_data, gpointer user_data,
...); ...);
DeeModelIter* dee_model_find_row_sorted (DeeModel *self, DeeModelIter* dee_model_find_row_sorted (DeeModel *self,
GVariant **row_spec, GVariant **row_spec,
DeeCompareRowFunc cmp_func, DeeCompareRowFunc cmp_func,
gpointer user_data, gpointer user_data,
gboolean *out_was_fo und); gboolean *out_was_fo und);
DeeModelIter* dee_model_find_sorted (DeeModel *self, DeeModelIter* dee_model_find_row_sorted_with_sizes (DeeModel
DeeCompareRowFunc cmp_func, *self,
gpointer user_data, GVariant *
gboolean *out_was_found, *row_spec,
...); DeeCompareRowSizedFunc
cmp_func,
gpointer
user_data,
gboolean
*out_was_found);
DeeModelIter* dee_model_find_sorted (DeeModel *self,
DeeCompareRowFunc cmp_func,
gpointer user_data,
gboolean *out_was_found
,
...);
void dee_model_remove (DeeModel *self, void dee_model_remove (DeeModel *self,
DeeModelIter *iter); DeeModelIter *iter);
void dee_model_clear (DeeModel *self); void dee_model_clear (DeeModel *self);
void dee_model_set (DeeModel *self, void dee_model_set (DeeModel *self,
DeeModelIter *iter, DeeModelIter *iter,
...); ...);
 End of changes. 3 change blocks. 
5 lines changed or deleted 48 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/