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