summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_cmd_dispatcher.h
diff options
context:
space:
mode:
authorjaortega <jaortega>2001-03-09 00:13:21 +0000
committerjaortega <jaortega>2001-03-09 00:13:21 +0000
commit13884bea299129048c1912510292d1207f520323 (patch)
tree302b5a4dd8b6b72b4c509db36a3c50309271d764 /mixgtk/mixgtk_cmd_dispatcher.h
parentbcfdf63cda901a90b2438274385ada935b7812f0 (diff)
downloadmdk-13884bea299129048c1912510292d1207f520323.tar.gz
mdk-13884bea299129048c1912510292d1207f520323.tar.bz2
partial functionality implemented
Diffstat (limited to 'mixgtk/mixgtk_cmd_dispatcher.h')
-rw-r--r--mixgtk/mixgtk_cmd_dispatcher.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/mixgtk/mixgtk_cmd_dispatcher.h b/mixgtk/mixgtk_cmd_dispatcher.h
index 0169a5d..b0beb17 100644
--- a/mixgtk/mixgtk_cmd_dispatcher.h
+++ b/mixgtk/mixgtk_cmd_dispatcher.h
@@ -1,7 +1,7 @@
/* -*-c-*- ---------------- mixgtk_cmd_dispatcher.h :
* functions to access the command dispatcher
* ------------------------------------------------------------------
- * Last change: Time-stamp: <01/02/25 17:24:28 jose>
+ * Last change: Time-stamp: <01/03/06 22:29:57 jose>
* ------------------------------------------------------------------
* Copyright (C) 2001 Free Software Foundation, Inc.
*
@@ -25,12 +25,20 @@
#ifndef MIXGTK_CMD_DISPATCHER_H
#define MIXGTK_CMD_DISPATCHER_H
+#include <mixlib/mix_vm.h>
#include "mixgtk_widgets.h"
/* initialise the command dispatcher */
extern gboolean
-mixgtk_cmd_dispatcher_init ();
+mixgtk_cmd_dispatcher_init (void);
+/* dispatch an externally provided command */
+extern void
+mixgtk_cmd_dispatcher_dispatch (const gchar *command);
+
+/* get the underlying vm */
+extern mix_vm_t *
+mixgtk_cmd_dispatcher_get_vm (void);
/* make gtk signal callbacks accessible to glade */
/* new command handler */