BEAST/BSE - Better Audio System and Sound Engine
0.8.2
|
00001 // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html 00002 #ifndef __BSE_PARASITE_H__ 00003 #define __BSE_PARASITE_H__ 00004 00005 #include <bse/bseitem.hh> 00006 00007 G_BEGIN_DECLS 00008 00009 /* --- parasite records --- */ 00010 void bse_item_set_parasite (BseItem *item, /* undoable */ 00011 const gchar *parasite_path, 00012 SfiRec *rec); 00013 SfiRec* bse_item_get_parasite (BseItem *item, 00014 const gchar *parasite_path); 00015 void bse_item_backup_parasite (BseItem *item, 00016 const gchar *parasite_path, 00017 SfiRec *rec); 00018 void bse_item_delete_parasites (BseItem *item); 00019 SfiRing* bse_item_list_parasites (BseItem *item, 00020 const gchar *parent_path); 00021 const gchar* bse_item_create_parasite_name (BseItem *item, 00022 const gchar *path_prefix); 00023 /* BseItem signals: 00024 * void (*parasites_added) (BseItem *item, 00025 * const gchar *parasite_path); 00026 * void (*parasite_changed) (BseItem *item, 00027 * const gchar *parasite_path); 00028 */ 00029 void bse_item_class_add_parasite_signals (BseItemClass *); 00030 00031 00032 /* --- old prototypes --- */ 00033 void bse_parasite_set_floats (BseObject *object, 00034 const gchar *name, 00035 guint n_values, 00036 gfloat *float_values); 00037 SfiFBlock* bse_parasite_get_floats (BseObject *object, 00038 const gchar *name); 00039 void bse_parasite_store (BseObject *object, 00040 BseStorage *storage); 00041 GTokenType bse_parasite_restore (BseObject *object, 00042 BseStorage *storage); 00043 00044 G_END_DECLS 00045 00046 #endif /* __BSE_PARASITE_H__ */