* muile/libmuguile: support loading specific message, 'mu:current'

This commit is contained in:
Dirk-Jan C. Binnema
2011-07-22 21:13:08 +03:00
parent 6090bf8ad0
commit 88ffe5f309
3 changed files with 124 additions and 6 deletions

View File

@ -27,15 +27,28 @@
extern "C" {
#endif /*__cplusplus*/
/**
typedef void* MuGuileFunc (void*);
/**
* register MuMsg-related functions/smobs with guile; use with
* scm_with_guile
*
*
* @param data
*/
void *mu_guile_msg_init (void *data);
/**
/**
* set 'mu:msg:current in the guile env
*
* @param path path to a message
*
* @return TRUE if it worked, FALSE otherwise
*/
gboolean mu_guile_msg_load_current (const char *path);
/**
* create an SCM for the MuMsg*
*
* @param msg a MuMsg instance