window1.hh
Go to the documentation of this file.
00001 /*------------------------------------------------------------------------
00002  *---------------------           WMPSNIFFER          --------------------
00003  *------------------------------------------------------------------------
00004  *                                                         V7.0B  11/05/10
00005  *
00006  *
00007  *  File: window1.hh
00008  *  Authors: Danilo Tardioli
00009  *  ----------------------------------------------------------------------
00010  *  Copyright (C) 2000-2012, Universidad de Zaragoza, SPAIN
00011  *
00012  *  Contact Addresses: Danilo Tardioli                   dantard@unizar.es
00013  *
00014  *  RT-WMP is free software; you can  redistribute it and/or  modify it
00015  *  under the terms of the GNU General Public License  as published by the
00016  *  Free Software Foundation;  either  version 2, or (at  your option) any
00017  *  later version.
00018  *
00019  *  RT-WMP  is distributed  in the  hope  that  it will be   useful, but
00020  *  WITHOUT  ANY  WARRANTY;     without  even the   implied   warranty  of
00021  *  MERCHANTABILITY  or  FITNESS FOR A  PARTICULAR PURPOSE.    See the GNU
00022  *  General Public License for more details.
00023  *
00024  *  You should have received  a  copy of  the  GNU General Public  License
00025  *  distributed with RT-WMP;  see file COPYING.   If not,  write to the
00026  *  Free Software  Foundation,  59 Temple Place  -  Suite 330,  Boston, MA
00027  *  02111-1307, USA.
00028  *
00029  *  As a  special exception, if you  link this  unit  with other  files to
00030  *  produce an   executable,   this unit  does  not  by  itself cause  the
00031  *  resulting executable to be covered by the  GNU General Public License.
00032  *  This exception does  not however invalidate  any other reasons why the
00033  *  executable file might be covered by the GNU Public License.
00034  *
00035  *----------------------------------------------------------------------*/
00036 
00037 #ifndef _WINDOW1_HH
00038 #  include "window1_glade.hh"
00039 #  define _WINDOW1_HH
00040 
00041 #include <gtkmm/window.h>
00042 #include <gtkmm/treeview.h>
00043 #include <gtkmm/scrolledwindow.h>
00044 #include <gtkmm/radiobutton.h>
00045 #include <gtkmm/box.h>
00046 #include <gtkmm/alignment.h>
00047 #include <gtkmm/entry.h>
00048 #include <gtkmm/liststore.h>
00049 #include <gtkmm/treestore.h>
00050 
00051 class main_window;
00052 
00053 class window1 : public window1_glade
00054 {  
00055     void on_button10_clicked();
00056     void on_button11_clicked();
00057     void on_button12_clicked();
00058     void on_cursor_changed();
00059     int selected;
00060     main_window* mw;
00061     class ModelColumns : public Gtk::TreeModel::ColumnRecord {          
00062 public:
00063                 ModelColumns() {
00064                         add(m_col_id);
00065                         add(m_col_number);
00066                         add(m_col_name);
00067                         add(m_col_bc);
00068                 }
00069                 Gtk::TreeModelColumn<unsigned int> m_col_id;
00070                 Gtk::TreeModelColumn<Glib::ustring> m_col_name;
00071                 Gtk::TreeModelColumn<Glib::ustring> m_col_bc;
00072                 Gtk::TreeModelColumn<unsigned int> m_col_number;
00073                 
00074         };
00075         ModelColumns m_Columns;
00076         Glib::RefPtr<Gtk::TreeStore> m_refTreeModel;
00077 public:
00078         int get_selected();
00079         window1(main_window *);
00080 };
00081 #endif


ros_rt_wmp_sniffer
Author(s): Danilo Tardioli, dantard@unizar.es
autogenerated on Mon Oct 6 2014 08:27:57