2 #ifndef __BSE_CONTAINER_H__
3 #define __BSE_CONTAINER_H__
11 #define BSE_TYPE_CONTAINER (BSE_TYPE_ID (BseContainer))
12 #define BSE_CONTAINER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_CONTAINER, BseContainer))
13 #define BSE_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_CONTAINER, BseContainerClass))
14 #define BSE_IS_CONTAINER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_CONTAINER))
15 #define BSE_IS_CONTAINER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_CONTAINER))
16 #define BSE_CONTAINER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_CONTAINER, BseContainerClass))
17 #define BSE_CONTAINER_FLAGS_USHIFT (BSE_SOURCE_FLAGS_USHIFT + 0)
21 typedef gboolean (*BseForallItemsFunc) (
BseItem *item,
23 typedef gboolean (*BseForallCrossFunc) (
BseItem *owner,
35 BseForallItemsFunc func,
38 const gchar *child_type);
48 void bse_container_forall_items (
BseContainer *container,
49 BseForallItemsFunc func,
51 BseItemSeq* bse_container_list_children (
BseContainer *container);
52 guint bse_container_get_item_seqid (
BseContainer *container,
57 void bse_container_store_children (
BseContainer *container,
62 const gchar *type_uname);
65 gchar* bse_container_make_upath (
BseContainer *container,
67 gboolean bse_container_check_restore (
BseContainer *container,
68 const gchar *child_type);
70 gpointer bse_container_new_child_bname (
BseContainer *container,
72 const gchar *base_name,
73 const gchar *first_param_name,
75 #define bse_container_new_child( container, child_type, ...) \
76 bse_container_new_child_bname( container, child_type, NULL, __VA_ARGS__)
82 void bse_container_uncross_undoable (
BseContainer *container,
84 void bse_container_remove_backedup (
BseContainer *container,
86 BseUndoStack *ustack);
93 BseItemUncross uncross_func);
94 void _bse_container_cross_unlink (
BseContainer *container,
97 BseItemUncross uncross);
101 void bse_container_debug_tree (
BseContainer *container);
Definition: bsecontainer.hh:26
Definition: bsecontainer.hh:29
Definition: bsesource.hh:84
Definition: bsesource.hh:92
Definition: bsestorage.hh:49
Definition: bseitem.hh:33