busyinfo.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: wx/generic/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. #ifndef _WX_BUSYINFO_H_
  9. #define _WX_BUSYINFO_H_
  10. #include "wx/defs.h"
  11. #if wxUSE_BUSYINFO
  12. #include "wx/object.h"
  13. class WXDLLIMPEXP_FWD_CORE wxFrame;
  14. class WXDLLIMPEXP_FWD_CORE wxWindow;
  15. //--------------------------------------------------------------------------------
  16. // wxBusyInfo
  17. // Displays progress information
  18. // Can be used in exactly same way as wxBusyCursor
  19. //--------------------------------------------------------------------------------
  20. class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject
  21. {
  22. public:
  23. wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
  24. virtual ~wxBusyInfo();
  25. private:
  26. wxFrame *m_InfoFrame;
  27. wxDECLARE_NO_COPY_CLASS(wxBusyInfo);
  28. };
  29. #endif // wxUSE_BUSYINFO
  30. #endif // _WX_BUSYINFO_H_