]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/busyinfo.h
added macros to avoid code repetition when defining comparison operators; use them...
[wxWidgets.git] / include / wx / busyinfo.h
index b4266a935ac786a041265a8e81376c90c94fcc94..7840be70d765b1104adc8d8e9e5c26217e21345a 100644 (file)
@@ -1,58 +1,21 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        busyinfo.h
+// Name:        wx/busyinfo.h
 // Purpose:     Information window (when app is busy)
 // Author:      Vaclav Slavik
 // Copyright:   (c) 1999 Vaclav Slavik
-// Licence:     wxWindows Licence
+// RCS-ID:      $Id$
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __INFOWIN_H__
-#define __INFOWIN_H__
+#ifndef __BUSYINFO_H_BASE__
+#define __BUSYINFO_H_BASE__
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
+#include "wx/defs.h"
 
-#include <wx/wxprec.h>
+#if wxUSE_BUSYINFO
 
-#ifdef __BORDLANDC__
-#pragma hdrstop
-#endif
-
-#ifndef WXPRECOMP
-#include <wx/wx.h>
-#endif
-
-
-#include <wx/dialog.h>
-
-
-
-
-class wxInfoFrame : public wxFrame
-{
-    public:
-        wxInfoFrame(wxWindow *parent, const wxString& message);
-};
-
-
-//--------------------------------------------------------------------------------
-// wxBusyInfo
-//                  Displays progress information
-//                  Can be used in exactly same way as wxBusyCursor
-//--------------------------------------------------------------------------------
-
-class wxBusyInfo : public wxObject
-{
-    public:
-        wxBusyInfo(const wxString& message);
-        ~wxBusyInfo();
-
-    private:
-        wxInfoFrame *m_InfoFrame;
-};
-
-
-#endif
+#include "wx/generic/busyinfo.h"
 
+#endif // wxUSE_BUSYINFO
 
+#endif // __BUSYINFO_H_BASE__