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