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_GLUE_H__ 00003 #define __BSE_GLUE_H__ 00004 00005 #include <bse/bsetype.hh> 00006 00007 G_BEGIN_DECLS 00008 00009 /* FIXME: creation of a new context source should be done 00010 * by a janitor constructor 00011 */ 00012 00013 SfiGlueContext* bse_glue_context_intern (const gchar *user); 00014 00015 /* Construct a new #SfiRec from a boxed value. */ 00016 typedef SfiRec* (*BseGlueBoxedToRec) (gpointer boxed); 00017 /* Construct a new #SfiSeq from a boxed value. */ 00018 typedef SfiSeq* (*BseGlueBoxedToSeq) (gpointer boxed); 00019 00020 GType bse_glue_pspec_get_original_enum (GParamSpec *pspec); 00021 guint bse_glue_enum_index (GType enum_type, 00022 gint enum_value); 00023 GValue* bse_glue_boxed_to_value (GType boxed_type, 00024 gpointer boxed); 00025 00026 /* convert value sto/from SFI serializable types */ 00027 GValue* bse_value_to_sfi (const GValue *value); 00028 GValue* bse_value_from_sfi (const GValue *value, 00029 GParamSpec *pspec); 00030 00031 G_END_DECLS 00032 00033 #endif /* __BSE_GLUE_H__ */ 00034 00035 /* vim:set ts=8 sts=2 sw=2: */