2 #ifndef __BST_TREE_STORES_H__
3 #define __BST_TREE_STORES_H__
12 BST_FILE_STORE_COL_ID,
13 BST_FILE_STORE_COL_FILE,
14 BST_FILE_STORE_COL_BASE_NAME,
15 BST_FILE_STORE_COL_WAVE_NAME,
16 BST_FILE_STORE_COL_SIZE,
17 BST_FILE_STORE_COL_TIME_USECS,
18 BST_FILE_STORE_COL_TIME_STR,
19 BST_FILE_STORE_COL_LOADER,
20 BST_FILE_STORE_COL_LOADABLE,
23 GtkTreeModel* bst_file_store_create (
void);
24 void bst_file_store_update_list (GtkTreeModel *model,
25 const gchar *search_path,
27 void bst_file_store_forget_list (GtkTreeModel *model);
28 void bst_file_store_destroy (GtkTreeModel *model);
33 BST_PROXY_STORE_SEQID,
35 BST_PROXY_STORE_BLURB,
37 BST_PROXY_STORE_N_COLS
40 GtkTreeModel* bst_item_seq_store_new (gboolean sorted);
41 void bst_item_seq_store_set (GtkTreeModel *
self,
43 gint bst_item_seq_store_add (GtkTreeModel *
self,
45 gint bst_item_seq_store_remove (GtkTreeModel *
self,
47 gint bst_item_seq_store_raise (GtkTreeModel *
self,
49 gboolean bst_item_seq_store_can_raise (GtkTreeModel *
self,
51 gint bst_item_seq_store_lower (GtkTreeModel *
self,
53 gboolean bst_item_seq_store_can_lower (GtkTreeModel *
self,
55 BseIt3mSeq* bst_item_seq_store_dup (GtkTreeModel *
self);
56 SfiProxy bst_item_seq_store_get_proxy (GtkTreeModel *
self,
58 SfiProxy bst_item_seq_store_get_from_iter (GtkTreeModel *
self,
60 gboolean bst_item_seq_store_get_iter (GtkTreeModel *
self,
64 GxkListWrapper* bst_child_list_wrapper_store_new (
void);
68 void bst_child_list_wrapper_setup (GxkListWrapper *
self,
70 const gchar *child_type);
71 void bst_child_list_wrapper_set_listener (GxkListWrapper *
self,
72 void (*listener) (GtkTreeModel *model,
75 void bst_child_list_wrapper_rebuild (GxkListWrapper *
self);
76 SfiProxy bst_child_list_wrapper_get_proxy (GxkListWrapper *
self,
78 SfiProxy bst_child_list_wrapper_get_from_iter (GxkListWrapper *
self,
80 gboolean bst_child_list_wrapper_get_iter (GxkListWrapper *
self,
83 void bst_child_list_wrapper_proxy_changed (GxkListWrapper *
self,