1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/gtk/hildon/notifmsg.h
3 // Purpose: Hildon implementation of wxNotificationMessage
4 // Author: Vadim Zeitlin
7 // Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GTK_HILDON_NOTIFMSG_H_
12 #define _WX_GTK_HILDON_NOTIFMSG_H_
14 typedef struct _HildonBanner HildonBanner
;
16 // ----------------------------------------------------------------------------
17 // wxNotificationMessage
18 // ----------------------------------------------------------------------------
20 class WXDLLIMPEXP_ADV wxNotificationMessage
: public wxNotificationMessageBase
23 wxNotificationMessage() { Init(); }
24 wxNotificationMessage(const wxString
& title
,
25 const wxString
& message
= wxString(),
26 wxWindow
*parent
= NULL
)
27 : wxNotificationMessageBase(title
, message
, parent
)
32 virtual ~wxNotificationMessage();
35 virtual bool Show(int timeout
= Timeout_Auto
);
39 void Init() { m_banner
= NULL
; }
41 // return the string containing markup for both the title and, if
42 // specified, the message
43 wxString
HildonGetMarkup() const;
45 // returns the widget of the parent GtkWindow to use or NULL
46 GtkWidget
*HildonGetWindow() const;
49 // the banner we're showing, only non-NULL if it's an animation or progress
50 // banner as the informational dialog times out on its own and we don't
51 // need to store it (nor do we have any way to get its widget anyhow)
55 wxDECLARE_NO_COPY_CLASS(wxNotificationMessage
);
58 #endif // _WX_GTK_HILDON_NOTIFMSG_H_