Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bseglue.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_GLUE_H__
3 #define __BSE_GLUE_H__
4 
5 #include <bse/bsetype.hh>
6 
7 /* FIXME: creation of a new context source should be done
8  * by a janitor constructor
9  */
10 
11 SfiGlueContext* bse_glue_context_intern (const gchar *user);
12 
13 /* Construct a new #SfiRec from a boxed value. */
14 typedef SfiRec* (*BseGlueBoxedToRec) (gpointer boxed);
15 /* Construct a new #SfiSeq from a boxed value. */
16 typedef SfiSeq* (*BseGlueBoxedToSeq) (gpointer boxed);
17 
18 GType bse_glue_pspec_get_original_enum (GParamSpec *pspec);
19 guint bse_glue_enum_index (GType enum_type,
20  gint enum_value);
21 GValue* bse_glue_boxed_to_value (GType boxed_type,
22  gpointer boxed);
23 
24 /* convert value sto/from SFI serializable types */
25 GValue* bse_value_to_sfi (const GValue *value);
26 GValue* bse_value_from_sfi (const GValue *value,
27  GParamSpec *pspec);
28 
29 #endif /* __BSE_GLUE_H__ */
30 
31 /* vim:set ts=8 sts=2 sw=2: */