/* * Copyright 2007-2009, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ #ifndef PROGRESS_WINDOW_H #define PROGRESS_WINDOW_H #include class BMessageRunner; class BStatusBar; class ProgressWindow : public BWindow { public: ProgressWindow(BWindow* referenceWindow, bool center = false); virtual ~ProgressWindow(); virtual void MessageReceived(BMessage* message); void Start(); void Stop(); private: BStatusBar* fStatusBar; BMessageRunner* fRunner; bool fRetrievedUpdate; bool fRetrievedShow; }; #endif // PROGRESS_WINDOW_H