2 * Copyright 2007, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 #ifndef PROGRESS_WINDOW_H
6 #define PROGRESS_WINDOW_H
15 class ProgressWindow
: public BWindow
{
17 ProgressWindow(BWindow
* referenceWindow
, BMessage
* abortMessage
= NULL
);
18 virtual ~ProgressWindow();
20 virtual void MessageReceived(BMessage
*message
);
22 void Start(BWindow
* referenceWindow
);
26 void _Center(BWindow
* referenceWindow
);
28 BStatusBar
* fStatusBar
;
29 BMessageRunner
* fRunner
;
30 bool fRetrievedUpdate
;
34 static const uint32 kMsgProgressStatusUpdate
= 'SIup';
36 #endif // PROGRESS_WINDOW_H