#ifndef MAINWINDOW_H_#define MAINWINDOW_H_#include <iostream>#include <fstream>#include <exception>#include <glibmm.h>#include <gtkmm.h>#include <libglademm.h>#include "PreferencesWindow.h"class MainWindow{public: MainWindow(); virtual ~MainWindow(); // The window. This is public so we can hook into events and // call kit.run(window) against it, if needed. Gtk::Window *window;private: // Contains the Xml reference for this window and it's widgets. Glib::RefPtr<Gnome::Glade::Xml> refXml; // Widgets in the window. // Child Windows PreferencesWindow *preferences_window; // Methods bool on_delete_event(GdkEventAny *e); void on_preferences_open(); bool on_preferences_close(GdkEventAny *e); void on_preferences_hide();};#endif /*MAINWINDOW_H_*/