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_SCRIPT_HELPER_H__ 00003 #define __BSE_SCRIPT_HELPER_H__ 00004 00005 #include <bse/bseprocedure.hh> 00006 00007 #ifdef __cplusplus 00008 extern "C" { 00009 #endif /* __cplusplus */ 00010 00011 00012 /* --- typedefs & structures --- */ 00013 typedef struct 00014 { 00015 gchar *script_file; 00016 gchar *name; 00017 SfiRing *params; 00018 } BseScriptData; 00019 typedef struct 00020 { 00021 BseProcedureClass parent_class; 00022 BseScriptData *sdata; 00023 } BseScriptProcedureClass; 00024 00025 00026 /* --- API --- */ 00027 GType bse_script_proc_register (const gchar *script_file, 00028 const gchar *name, 00029 const gchar *options, 00030 const gchar *category, 00031 const gchar *blurb, 00032 const gchar *file, 00033 guint line, 00034 const gchar *authors, 00035 const gchar *license, 00036 SfiRing *params); 00037 SfiRing* bse_script_path_list_files (void); 00038 BseErrorType bse_script_file_register (const gchar *file_name, 00039 BseJanitor **janitor_p); 00040 GValue* bse_script_check_client_msg (SfiGlueDecoder *decoder, 00041 BseJanitor *janitor, 00042 const gchar *message, 00043 const GValue *value); 00044 00045 #ifdef __cplusplus 00046 } 00047 #endif /* __cplusplus */ 00048 00049 #endif /* __BSE_SCRIPT_HELPER_H__ */