diff options
Diffstat (limited to 'widgets/table/e-tree-memory-callbacks.h')
-rw-r--r-- | widgets/table/e-tree-memory-callbacks.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/table/e-tree-memory-callbacks.h b/widgets/table/e-tree-memory-callbacks.h index b419ea8d4f..441c5be9f4 100644 --- a/widgets/table/e-tree-memory-callbacks.h +++ b/widgets/table/e-tree-memory-callbacks.h @@ -23,6 +23,9 @@ typedef gint (*ETreeMemoryCallbacksColumnCountFn) (ETreeModel *etre typedef gboolean (*ETreeMemoryCallbacksHasSaveIdFn) (ETreeModel *etree, void *model_data); typedef gchar *(*ETreeMemoryCallbacksGetSaveIdFn) (ETreeModel *etree, ETreePath path, void *model_data); +typedef gboolean (*ETreeMemoryCallbacksHasGetNodeByIdFn) (ETreeModel *etree, void *model_data); +typedef ETreePath (*ETreeMemoryCallbacksGetNodeByIdFn) (ETreeModel *etree, gchar *save_id, void *model_data); + typedef void* (*ETreeMemoryCallbacksValueAtFn) (ETreeModel *etree, ETreePath path, int col, void *model_data); typedef void (*ETreeMemoryCallbacksSetValueAtFn) (ETreeModel *etree, ETreePath path, int col, const void *val, void *model_data); typedef gboolean (*ETreeMemoryCallbacksIsEditableFn) (ETreeModel *etree, ETreePath path, int col, void *model_data); @@ -43,6 +46,9 @@ typedef struct { ETreeMemoryCallbacksHasSaveIdFn has_save_id; ETreeMemoryCallbacksGetSaveIdFn get_save_id; + ETreeMemoryCallbacksHasGetNodeByIdFn has_get_node_by_id; + ETreeMemoryCallbacksGetNodeByIdFn get_node_by_id; + ETreeMemoryCallbacksValueAtFn value_at; ETreeMemoryCallbacksSetValueAtFn set_value_at; ETreeMemoryCallbacksIsEditableFn is_editable; @@ -69,6 +75,9 @@ ETreeModel *e_tree_memory_callbacks_new (ETreeMemoryCallbacksIconAtFn icon_at, ETreeMemoryCallbacksHasSaveIdFn has_save_id, ETreeMemoryCallbacksGetSaveIdFn get_save_id, + ETreeMemoryCallbacksHasGetNodeByIdFn has_get_node_by_id, + ETreeMemoryCallbacksGetNodeByIdFn get_node_by_id, + ETreeMemoryCallbacksValueAtFn value_at, ETreeMemoryCallbacksSetValueAtFn set_value_at, ETreeMemoryCallbacksIsEditableFn is_editable, |