home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / include / wx / busyinfo.h < prev    next >
C/C++ Source or Header  |  2002-11-09  |  1KB  |  55 lines

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