00001 /* 00002 * RolLerCoaster Linear Networks Solver 00003 * 00004 * RolLerCoaster is the legal property of its developers, whose names are 00005 * listed in the COPYRIGHT file distributed with this source distribution. 00006 * 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the free software foundation; either version 2 of the license, or 00010 * (at your option) any later version. 00011 * 00012 * this program is distributed in the hope that it will be useful, 00013 * but without any warranty; without even the implied warranty of 00014 * merchantability or fitness for a particular purpose. see the 00015 * gnu general public license for more details. 00016 * 00017 * you should have received a copy of the gnu general public license 00018 * along with this program; if not, write to the free software 00019 * foundation, inc., 59 temple place, suite 330, boston, ma 02111-1307 usa 00020 * 00021 */ 00022 00023 #ifndef MAINTOOLBAR_HH 00024 #define MAINTOOLBAR_HH 00025 00026 #include <gtkmm/toolbar.h> 00027 00028 00033 namespace RLC 00034 { 00035 class CMainWindow; 00036 00040 class CMainToolbar : public Gtk::Toolbar 00041 { 00042 public: 00043 CMainToolbar(); 00044 ~CMainToolbar(); 00045 00053 void setParent(RLC::CMainWindow* parent); 00054 00055 protected: 00056 void on_toolbar_button_new(); 00057 void on_toolbar_button_open(); 00058 void on_toolbar_button_solve(); 00059 00064 RLC::CMainWindow* m_parent; 00065 }; 00066 00067 } 00068 00069 00070 #endif // MAINTOOLBAR_HH 00071