summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/gmixvm.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2001-04-28 20:54:11 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2001-04-28 20:54:11 +0000
commited226c3abb7223019ace8cd897b6e6b681ee014a (patch)
tree96d37cb975abcaed547b8b5ae1c4185943c23240 /mixgtk/gmixvm.c
parent1f2208536e4659b79f49c0256c18f68b61ed9f7c (diff)
downloadmdk-ed226c3abb7223019ace8cd897b6e6b681ee014a.tar.gz
mdk-ed226c3abb7223019ace8cd897b6e6b681ee014a.tar.bz2
initialisation, clean-up and main functionality split
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;
+}