]> git.saurik.com Git - wxWidgets.git/blob - include/wx/busyinfo.h
add missing header to allow ../src/common/docview.cpp to compile
[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 // RCS-ID: $Id$
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #ifndef __INFOWIN_H__
11 #define __INFOWIN_H__
12
13 #include "wx/defs.h"
14
15 #include "wx/frame.h"
16
17 #if wxUSE_BUSYINFO
18
19 class WXDLLEXPORT wxInfoFrame : public wxFrame
20 {
21 public:
22 wxInfoFrame(wxWindow *parent, const wxString& message);
23
24 private:
25 DECLARE_NO_COPY_CLASS(wxInfoFrame)
26 };
27
28
29 //--------------------------------------------------------------------------------
30 // wxBusyInfo
31 // Displays progress information
32 // Can be used in exactly same way as wxBusyCursor
33 //--------------------------------------------------------------------------------
34
35 class WXDLLEXPORT wxBusyInfo : public wxObject
36 {
37 public:
38 wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
39
40 virtual ~wxBusyInfo();
41
42 private:
43 wxInfoFrame *m_InfoFrame;
44
45 DECLARE_NO_COPY_CLASS(wxBusyInfo)
46 };
47
48
49 #endif
50
51 #endif