]>
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$ |
5526e819 VS |
7 | // Licence: wxWindows Licence |
8 | ///////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | #ifndef __INFOWIN_H__ | |
11 | #define __INFOWIN_H__ | |
12 | ||
13 | #ifdef __GNUG__ | |
d1af991f | 14 | #pragma interface |
5526e819 VS |
15 | #endif |
16 | ||
d1af991f | 17 | #include "wx/wxprec.h" |
5526e819 VS |
18 | |
19 | #ifdef __BORDLANDC__ | |
20 | #pragma hdrstop | |
21 | #endif | |
22 | ||
d1af991f | 23 | #include "wx/frame.h" |
5526e819 | 24 | |
d78b3d64 | 25 | #if wxUSE_BUSYINFO |
5526e819 | 26 | |
d674cf6d | 27 | class WXDLLEXPORT wxInfoFrame : public wxFrame |
5526e819 | 28 | { |
21977bac VZ |
29 | public: |
30 | wxInfoFrame(wxWindow *parent, const wxString& message); | |
5526e819 VS |
31 | }; |
32 | ||
33 | ||
34 | //-------------------------------------------------------------------------------- | |
35 | // wxBusyInfo | |
36 | // Displays progress information | |
37 | // Can be used in exactly same way as wxBusyCursor | |
38 | //-------------------------------------------------------------------------------- | |
39 | ||
d674cf6d | 40 | class WXDLLEXPORT wxBusyInfo : public wxObject |
5526e819 | 41 | { |
21977bac VZ |
42 | public: |
43 | wxBusyInfo(const wxString& message, wxWindow *parent = NULL); | |
5526e819 | 44 | |
21977bac VZ |
45 | virtual ~wxBusyInfo(); |
46 | ||
47 | private: | |
48 | wxInfoFrame *m_InfoFrame; | |
5526e819 VS |
49 | }; |
50 | ||
51 | ||
52 | #endif | |
53 | ||
d78b3d64 | 54 | #endif |