2 * Copyright (c) 2007, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
6 * Ćukasz 'Sil2100' Zemczak <sil2100@vexillium.org>
8 #ifndef PACKAGESTATUS_H
9 #define PACKAGESTATUS_H
14 #include <StatusBar.h>
18 P_MSG_NEXT_STAGE
= 'psne',
24 class StopButton
: public BButton
{
27 virtual void Draw(BRect
);
31 class PackageStatus
: public BWindow
{
33 PackageStatus(const char *title
, const char *label
= NULL
,
34 const char *trailing
= NULL
, BHandler
*parent
= NULL
);
37 void MessageReceived(BMessage
*msg
);
38 void Reset(uint32 stages
, const char *label
= NULL
,
39 const char *trailing
= NULL
);
40 void StageStep(uint32 count
, const char *text
= NULL
,
41 const char *trailing
= NULL
);