#ifndef HF_NAPTAR_ADD_DATE_WINDOW_H #define HF_NAPTAR_ADD_DATE_WINDOW_H #ifdef GTKMM_GUI #include #include #include #include #include #include #include #include "Naptar.h" class AddDateWindow : public Gtk::Dialog { Gtk::Label label; Gtk::Button* ok_button; Gtk::Button* cancel_button; protected: class ErrorWindow; ErrorWindow* error_window; Gtk::Calendar calendar; Gtk::Entry entry; Naptar& np; void createErrorWindow(); virtual void addToCalendar(); void errorWinClose(); class ErrorWindow : public Gtk::Dialog { Gtk::Label text; Gtk::Button* btn; public: ErrorWindow(); ~ErrorWindow(); }; public: explicit AddDateWindow(Naptar& np); virtual ~AddDateWindow(); }; #endif // GTKMM_GUI #endif