diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-04-28 20:54:11 +0000 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2001-04-28 20:54:11 +0000 |
commit | fef0865fae3728ed89b3403fbcc24cdd26ae1e46 (patch) | |
tree | 8791f7bea4e2d97da33f24802ded3245dce285b9 /mixgtk/gmixvm.c | |
parent | 75008f7cd9831b65de6e452860a6908b2019d9d1 (diff) | |
download | mdk-fef0865fae3728ed89b3403fbcc24cdd26ae1e46.tar.gz mdk-fef0865fae3728ed89b3403fbcc24cdd26ae1e46.tar.bz2 |
initialisation, clean-up and main functionality split
Diffstat (limited to 'mixgtk/gmixvm.c')
-rw-r--r-- | mixgtk/gmixvm.c | 36 |
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; +} |