diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-08-29 02:14:01 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-08-29 02:14:01 +0000 |
commit | 94d833c97f99aaa246a775bcccfed7d074ff1720 (patch) | |
tree | 4d6332bb8bbe06ada0f653327dbf9bc6ad8b870f /mixlib | |
parent | e035a5b2b62bd4fd9a08c7bae07a437dc9adf98e (diff) | |
download | mdk-94d833c97f99aaa246a775bcccfed7d074ff1720.tar.gz mdk-94d833c97f99aaa246a775bcccfed7d074ff1720.tar.bz2 |
new mix-guile commands
Diffstat (limited to 'mixlib')
-rw-r--r-- | mixlib/mix_vm_command.c | 7 | ||||
-rw-r--r-- | mixlib/mix_vm_command.h | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mixlib/mix_vm_command.c b/mixlib/mix_vm_command.c index 56f381d..07496c0 100644 --- a/mixlib/mix_vm_command.c +++ b/mixlib/mix_vm_command.c @@ -369,6 +369,13 @@ mix_vm_cmd_dispatcher_get_src_file_path (const mix_vm_cmd_dispatcher_t *dis) return PATH; } +const gchar * +mix_vm_cmd_dispatcher_get_program_path (const mix_vm_cmd_dispatcher_t *dis) +{ + g_return_val_if_fail (dis != NULL, NULL); + return dis->program; +} + /* install hooks */ void mix_vm_cmd_dispatcher_pre_hook (mix_vm_cmd_dispatcher_t *dis, diff --git a/mixlib/mix_vm_command.h b/mixlib/mix_vm_command.h index 465ed3e..b6672a0 100644 --- a/mixlib/mix_vm_command.h +++ b/mixlib/mix_vm_command.h @@ -166,6 +166,9 @@ extern const gchar * mix_vm_cmd_dispatcher_get_src_file_path (const mix_vm_cmd_dispatcher_t *dis); extern const gchar * +mix_vm_cmd_dispatcher_get_program_path (const mix_vm_cmd_dispatcher_t *dis); + +extern const gchar * mix_vm_cmd_dispatcher_get_editor (const mix_vm_cmd_dispatcher_t *dis); extern const gchar * @@ -229,8 +232,6 @@ mix_vm_cmd_dispatcher_global_post_hook (mix_vm_cmd_dispatcher_t *dis, mix_vm_cmd_global_hook_t hook, gpointer data); - - /* get the mix vm */ extern const mix_vm_t * mix_vm_cmd_dispatcher_get_vm (const mix_vm_cmd_dispatcher_t *dis); |