00001 /*************************************************************************** 00002 main.cpp - description 00003 ------------------- 00004 begin : Fri Oct 18 17:35:18 CEST 2002 00005 copyright : (C) 2002 by Michael Otto 00006 email : Michael.Otto@saskathex.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 00019 #include "gstockcalc.h" 00020 00021 int main(int argc, char *argv[]) { 00022 00023 //Glib::thread_init(); 00024 00025 // all GTK applications must have a gtk_main(). Control ends here 00026 // and waits for an event to occur (like a key press or mouse event). 00027 Gtk::Main kit(argc, argv); 00028 00029 GStockCalc s; 00030 00031 kit.run(s); 00032 return EXIT_SUCCESS; 00033 } 00034 00035 00036