]> git.saurik.com Git - wxWidgets.git/blame - include/wx/gtk/hildon/notifmsg.h
no changes, just remove #if'd out code
[wxWidgets.git] / include / wx / gtk / hildon / notifmsg.h
CommitLineData
e36a1739
VZ
1///////////////////////////////////////////////////////////////////////////////
2// Name: wx/gtk/hildon/notifmsg.h
3// Purpose: Hildon implementation of wxNotificationMessage
4// Author: Vadim Zeitlin
5// Created: 2007-11-21
6// RCS-ID: $Id$
7// Copyright: (c) 2007 Vadim Zeitlin <vadim@wxwindows.org>
8// Licence: wxWindows licence
9///////////////////////////////////////////////////////////////////////////////
10
11#ifndef _WX_GTK_HILDON_NOTIFMSG_H_
12#define _WX_GTK_HILDON_NOTIFMSG_H_
13
14typedef struct _HildonBanner HildonBanner;
15
16// ----------------------------------------------------------------------------
17// wxNotificationMessage
18// ----------------------------------------------------------------------------
19
20class WXDLLIMPEXP_ADV wxNotificationMessage : public wxNotificationMessageBase
21{
22public:
23 wxNotificationMessage() { Init(); }
24 wxNotificationMessage(const wxString& title,
25 const wxString& message = wxString(),
26 wxWindow *parent = NULL)
27 : wxNotificationMessageBase(title, message, parent)
28 {
29 Init();
30 }
31
32 virtual ~wxNotificationMessage();
33
34
35 virtual bool Show(int timeout = Timeout_Auto);
36 virtual bool Close();
37
38private:
39 void Init() { m_banner = NULL; }
40
41 // return the string containing markup for both the title and, if
42 // specified, the message
43 wxString HildonGetMarkup() const;
44
45 // returns the widget of the parent GtkWindow to use or NULL
46 GtkWidget *HildonGetWindow() const;
47
48
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)
52 GtkWidget *m_banner;
53
54
c0c133e1 55 wxDECLARE_NO_COPY_CLASS(wxNotificationMessage);
e36a1739
VZ
56};
57
58#endif // _WX_GTK_HILDON_NOTIFMSG_H_
59