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_SCM_INTERP_H__ 00003 #define __BSE_SCM_INTERP_H__ 00004 00005 #include <bse/bse.hh> 00006 #include <guile/gh.h> 00007 00008 G_BEGIN_DECLS 00009 00010 typedef struct _BseSCMWire BseSCMWire; 00011 00012 00013 /* --- prototypes --- */ 00014 void bse_scm_interp_init (void); 00015 void bse_scm_interp_exec_script (const gchar *file_name, 00016 const gchar *call_expr, 00017 GValue *value); 00018 void bse_scm_enable_script_register (gboolean enabled); 00019 void bse_scm_enable_server (gboolean enabled); 00020 00021 00022 /* --- SCM procedures --- */ 00023 SCM bse_scm_server_get (void); 00024 SCM bse_scm_choice_match (SCM s_ev1, 00025 SCM s_ev2); 00026 SCM bse_scm_glue_set_prop (SCM s_proxy, 00027 SCM s_prop_name, 00028 SCM s_value); 00029 SCM bse_scm_glue_get_prop (SCM s_proxy, 00030 SCM s_prop_name); 00031 SCM bse_scm_glue_call (SCM s_proc_name, 00032 SCM s_arg_list); 00033 SCM bse_scm_signal_connect (SCM s_proxy, 00034 SCM s_signal, 00035 SCM s_lambda); 00036 SCM bse_scm_signal_disconnect (SCM s_proxy, 00037 SCM s_handler_id); 00038 SCM bse_scm_script_message (SCM s_type, 00039 SCM s_bits); 00040 SCM bse_scm_script_register (SCM s_name, 00041 SCM s_options, 00042 SCM s_category, 00043 SCM s_blurb, 00044 SCM s_author, 00045 SCM s_license, 00046 SCM s_params); 00047 SCM bse_scm_gettext (SCM scm_string); 00048 SCM bse_scm_gettext_q (SCM scm_string); 00049 SCM bse_scm_context_pending (void); 00050 SCM bse_scm_context_iteration (SCM s_may_block); 00051 SCM bse_scm_glue_rec_get (SCM scm_rec, 00052 SCM s_field); 00053 SCM bse_scm_glue_rec_set (SCM scm_rec, 00054 SCM s_field, 00055 SCM s_value); 00056 SCM bse_scm_glue_rec_print (SCM scm_rec); 00057 SCM bse_scm_make_gc_plateau (guint size_hint); 00058 void bse_scm_destroy_gc_plateau (SCM s_gcplateau); 00059 00060 G_END_DECLS 00061 00062 00063 #endif /* __BSE_SCM_INTERP_H__ */