]>
Commit | Line | Data |
---|---|---|
5526e819 VS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: busyinfo.h | |
3 | // Purpose: Information window (when app is busy) | |
4 | // Author: Vaclav Slavik | |
5 | // Copyright: (c) 1999 Vaclav Slavik | |
d1af991f | 6 | // RCS-ID: $Id$ |
65571936 | 7 | // Licence: wxWindows licence |
5526e819 VS |
8 | ///////////////////////////////////////////////////////////////////////////// |
9 | ||
10 | #ifndef __INFOWIN_H__ | |
11 | #define __INFOWIN_H__ | |
12 | ||
372c511b | 13 | #include "wx/defs.h" |
5526e819 | 14 | |
d1af991f | 15 | #include "wx/frame.h" |
5526e819 | 16 | |
d78b3d64 | 17 | #if wxUSE_BUSYINFO |
5526e819 | 18 | |
d674cf6d | 19 | class WXDLLEXPORT wxInfoFrame : public wxFrame |
5526e819 | 20 | { |
21977bac VZ |
21 | public: |
22 | wxInfoFrame(wxWindow *parent, const wxString& message); | |
fc7a2a60 VZ |
23 | |
24 | private: | |
25 | DECLARE_NO_COPY_CLASS(wxInfoFrame) | |
5526e819 VS |
26 | }; |
27 | ||
28 | ||
29 | //-------------------------------------------------------------------------------- | |
30 | // wxBusyInfo | |
31 | // Displays progress information | |
32 | // Can be used in exactly same way as wxBusyCursor | |
33 | //-------------------------------------------------------------------------------- | |
34 | ||
d674cf6d | 35 | class WXDLLEXPORT wxBusyInfo : public wxObject |
5526e819 | 36 | { |
21977bac VZ |
37 | public: |
38 | wxBusyInfo(const wxString& message, wxWindow *parent = NULL); | |
5526e819 | 39 | |
21977bac VZ |
40 | virtual ~wxBusyInfo(); |
41 | ||
42 | private: | |
43 | wxInfoFrame *m_InfoFrame; | |
22f3361e VZ |
44 | |
45 | DECLARE_NO_COPY_CLASS(wxBusyInfo) | |
5526e819 VS |
46 | }; |
47 | ||
48 | ||
49 | #endif | |
50 | ||
d78b3d64 | 51 | #endif |