*** empty log message ***
[wxWidgets.git] / include / wx / busyinfo.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: busyinfo.h
3 // Purpose: Information window (when app is busy)
4 // Author: Vaclav Slavik
5 // Copyright: (c) 1999 Vaclav Slavik
6 // Licence: wxWindows Licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef __INFOWIN_H__
10 #define __INFOWIN_H__
11
12 #ifdef __GNUG__
13 #pragma implementation
14 #endif
15
16 #include <wx/wxprec.h>
17
18 #ifdef __BORDLANDC__
19 #pragma hdrstop
20 #endif
21
22 #ifndef WXPRECOMP
23 #include <wx/wx.h>
24 #endif
25
26 #if wxUSE_BUSYINFO
27
28 #include <wx/dialog.h>
29
30
31
32
33 class wxInfoFrame : public wxFrame
34 {
35 public:
36 wxInfoFrame(wxWindow *parent, const wxString& message);
37 };
38
39
40 //--------------------------------------------------------------------------------
41 // wxBusyInfo
42 // Displays progress information
43 // Can be used in exactly same way as wxBusyCursor
44 //--------------------------------------------------------------------------------
45
46 class wxBusyInfo : public wxObject
47 {
48 public:
49 wxBusyInfo(const wxString& message);
50 ~wxBusyInfo();
51
52 private:
53 wxInfoFrame *m_InfoFrame;
54 };
55
56
57 #endif
58
59 #endif