BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
bseparasite.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_PARASITE_H__
3 #define __BSE_PARASITE_H__
4 
5 #include <bse/bseitem.hh>
6 
7 G_BEGIN_DECLS
8 
9 /* --- parasite records --- */
10 void bse_item_set_parasite (BseItem *item, /* undoable */
11  const gchar *parasite_path,
12  SfiRec *rec);
13 SfiRec* bse_item_get_parasite (BseItem *item,
14  const gchar *parasite_path);
15 void bse_item_backup_parasite (BseItem *item,
16  const gchar *parasite_path,
17  SfiRec *rec);
18 void bse_item_delete_parasites (BseItem *item);
19 SfiRing* bse_item_list_parasites (BseItem *item,
20  const gchar *parent_path);
21 const gchar* bse_item_create_parasite_name (BseItem *item,
22  const gchar *path_prefix);
23 /* BseItem signals:
24  * void (*parasites_added) (BseItem *item,
25  * const gchar *parasite_path);
26  * void (*parasite_changed) (BseItem *item,
27  * const gchar *parasite_path);
28  */
29 void bse_item_class_add_parasite_signals (BseItemClass *);
30 
31 
32 /* --- old prototypes --- */
33 void bse_parasite_set_floats (BseObject *object,
34  const gchar *name,
35  guint n_values,
36  gfloat *float_values);
37 SfiFBlock* bse_parasite_get_floats (BseObject *object,
38  const gchar *name);
39 void bse_parasite_store (BseObject *object,
40  BseStorage *storage);
41 GTokenType bse_parasite_restore (BseObject *object,
42  BseStorage *storage);
43 
44 G_END_DECLS
45 
46 #endif /* __BSE_PARASITE_H__ */
Definition: bseobject.hh:60
Definition: sfiring.hh:23
Definition: bseitem.hh:40
Definition: bsestorage.hh:49
Definition: bseitem.hh:34