/*************************************************************************** * messagewindow.h * * Thu Jul 7 04:13:36 2005 * Copyright 2005 User * Email ****************************************************************************/ #ifndef _MESSAGEWINDOW_H #define _MESSAGEWINDOW_H #include "icons.h" #include "utilities.h" #include "imuserdaemon.h" #include "imownerdaemon.h" #include "settings.h" #include "basicwindow.h" #include "gettext.h" class simpleMessageWindow: public basicWindow { public: simpleMessageWindow(userEventType type, gchar* _commentText, gchar* _topicText); ~simpleMessageWindow(); protected: GtkWidget *comment; gchar *commentText, *topicText; gboolean hasText; GtkWidget *createWindowContent(); void destroyWindowContent(); GtkWidget *createButtonbar(); gboolean eventCallback(gint command, gint lastResult, gpointer info); // callbacks static void cb_addToListButtonClicked(GtkWidget *button, simpleMessageWindow *self); static void cb_infoButtonClicked(simpleMessageWindow *self); static void cb_historyButtonClicked(simpleMessageWindow *self); }; #endif /* _MESSAGEWINDOW_H */