00001 /*************************************************************************** 00002 summarydialog.h - description 00003 ------------------- 00004 begin : Thu Jan 30 2003 00005 copyright : (C) 2003 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 #ifndef SUMMARYDIALOG_H 00019 #define SUMMARYDIALOG_H 00020 00021 #include <gtkmm.h> 00022 #include <iostream> 00023 00024 class StockMarketVector; 00025 00026 using namespace std; 00027 00031 class SummaryDialog : public Gtk::Window { 00032 private: 00033 Gtk::VBox *vbox; 00034 00035 void quit(); 00036 00037 public: 00038 // marketNumber: 0 == All, ff. == each market 00039 SummaryDialog(const StockMarketVector * const stockMarketVector, int marketNumber); 00040 ~SummaryDialog(); 00041 00042 protected: 00043 virtual bool on_delete_event(GdkEventAny *event); 00044 }; 00045 00046 #endif 00047