summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/gmixvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixgtk/gmixvm.c')
-rw-r--r--mixgtk/gmixvm.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/mixgtk/gmixvm.c b/mixgtk/gmixvm.c
new file mode 100644
index 0000000..6326957
--- /dev/null
+++ b/mixgtk/gmixvm.c
@@ -0,0 +1,36 @@
+/* -*-c-*- -------------- gmixvm.c :
+ * Main function of the mix gtk front-end
+ * ------------------------------------------------------------------
+ * Last change: Time-stamp: "2001-04-28 22:37:45 jao"
+ * ------------------------------------------------------------------
+ * Copyright (C) 2001 Free Software Foundation, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ */
+
+#include <stdlib.h>
+#include "mixgtk.h"
+
+int
+main(int argc, char *argv[])
+{
+ if (!mixgtk_init (argc, argv)) return EXIT_FAILURE;
+
+ mixgtk_main ();
+ mixgtk_release ();
+
+ return EXIT_SUCCESS;
+}