00001 /*************************************************************************** 00002 chartdialog.h - description 00003 ------------------- 00004 begin : Wed Nov 6 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 #ifndef CHARTDIALOG_H 00019 #define CHARTDIALOG_H 00020 00021 00022 #include <gtkmm.h> 00023 00024 #include <stdio.h> 00025 00026 class Stock; 00027 class ChartDrawing; 00028 00033 class ChartDialog : public Gtk::Window { 00034 00035 private: 00036 const Stock * stock; 00037 ChartDrawing *chart; 00038 00039 void quit(); 00040 00041 public: 00042 ChartDialog(const Stock * const stock); 00043 ~ChartDialog(); 00044 00045 protected: 00046 virtual bool on_delete_event(GdkEventAny *event); 00047 }; 00048 00049 #endif