1999-07-07 22:04:58 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: busyinfo.h
|
|
|
|
// Purpose: Information window (when app is busy)
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Copyright: (c) 1999 Vaclav Slavik
|
1999-07-11 15:56:57 +00:00
|
|
|
// RCS-ID: $Id$
|
1999-07-07 22:04:58 +00:00
|
|
|
// Licence: wxWindows Licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __INFOWIN_H__
|
|
|
|
#define __INFOWIN_H__
|
|
|
|
|
2002-08-31 11:29:13 +00:00
|
|
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
|
|
|
#pragma interface "busyinfo.h"
|
1999-07-07 22:04:58 +00:00
|
|
|
#endif
|
|
|
|
|
1999-07-11 15:56:57 +00:00
|
|
|
#include "wx/wxprec.h"
|
1999-07-07 22:04:58 +00:00
|
|
|
|
2002-12-04 14:11:26 +00:00
|
|
|
#ifdef __BORLANDC__
|
1999-07-07 22:04:58 +00:00
|
|
|
#pragma hdrstop
|
|
|
|
#endif
|
|
|
|
|
1999-07-11 15:56:57 +00:00
|
|
|
#include "wx/frame.h"
|
1999-07-07 22:04:58 +00:00
|
|
|
|
1999-07-10 13:23:22 +00:00
|
|
|
#if wxUSE_BUSYINFO
|
1999-07-07 22:04:58 +00:00
|
|
|
|
1999-08-03 23:56:34 +00:00
|
|
|
class WXDLLEXPORT wxInfoFrame : public wxFrame
|
1999-07-07 22:04:58 +00:00
|
|
|
{
|
2001-10-29 14:32:42 +00:00
|
|
|
public:
|
|
|
|
wxInfoFrame(wxWindow *parent, const wxString& message);
|
2003-07-22 00:24:07 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
DECLARE_NO_COPY_CLASS(wxInfoFrame)
|
1999-07-07 22:04:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
// wxBusyInfo
|
|
|
|
// Displays progress information
|
|
|
|
// Can be used in exactly same way as wxBusyCursor
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
|
1999-08-03 23:56:34 +00:00
|
|
|
class WXDLLEXPORT wxBusyInfo : public wxObject
|
1999-07-07 22:04:58 +00:00
|
|
|
{
|
2001-10-29 14:32:42 +00:00
|
|
|
public:
|
|
|
|
wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
|
1999-07-07 22:04:58 +00:00
|
|
|
|
2001-10-29 14:32:42 +00:00
|
|
|
virtual ~wxBusyInfo();
|
|
|
|
|
|
|
|
private:
|
|
|
|
wxInfoFrame *m_InfoFrame;
|
2003-01-02 23:38:11 +00:00
|
|
|
|
|
|
|
DECLARE_NO_COPY_CLASS(wxBusyInfo)
|
1999-07-07 22:04:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
1999-07-10 13:23:22 +00:00
|
|
|
#endif
|