From fef0865fae3728ed89b3403fbcc24cdd26ae1e46 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sat, 28 Apr 2001 20:54:11 +0000 Subject: initialisation, clean-up and main functionality split --- mixgtk/gmixvm.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 mixgtk/gmixvm.c (limited to 'mixgtk/gmixvm.c') 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 +#include "mixgtk.h" + +int +main(int argc, char *argv[]) +{ + if (!mixgtk_init (argc, argv)) return EXIT_FAILURE; + + mixgtk_main (); + mixgtk_release (); + + return EXIT_SUCCESS; +} -- cgit v1.2.3