diff options
Diffstat (limited to 'widgets/table/e-table-model.h')
-rw-r--r-- | widgets/table/e-table-model.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/widgets/table/e-table-model.h b/widgets/table/e-table-model.h index d4fae1659e..b58614d150 100644 --- a/widgets/table/e-table-model.h +++ b/widgets/table/e-table-model.h @@ -27,6 +27,10 @@ typedef struct { gboolean (*is_cell_editable) (ETableModel *etm, int col, int row); void (*append_row) (ETableModel *etm, ETableModel *source, int row); + /* the sort group id for this row */ + const char *(*row_sort_group) (ETableModel *etm, int row); + gboolean (*has_sort_group) (ETableModel *etm); + /* Allocate a copy of the given value. */ void *(*duplicate_value) (ETableModel *etm, int col, const void *value); /* Free an allocated value. */ @@ -69,6 +73,9 @@ void e_table_model_set_value_at (ETableModel *e_table_model, int col, gboolean e_table_model_is_cell_editable (ETableModel *e_table_model, int col, int row); void e_table_model_append_row (ETableModel *e_table_model, ETableModel *source, int row); +const char *e_table_model_row_sort_group (ETableModel *e_table_model, int row); +gboolean e_table_model_has_sort_group (ETableModel *e_table_model); + void *e_table_model_duplicate_value (ETableModel *e_table_model, int col, const void *value); void e_table_model_free_value (ETableModel *e_table_model, int col, void *value); void *e_table_model_initialize_value (ETableModel *e_table_model, int col); |