2 * Copyright 2005, Waldemar Kornewald <wkornew@gmx.net>
3 * Distributed under the terms of the MIT License.
6 #ifndef PPP_DESKBAR_REPLICANT__H
7 #define PPP_DESKBAR_REPLICANT__H
13 class PPPStatusWindow
;
16 class PPPDeskbarReplicant
: public BView
{
18 PPPDeskbarReplicant(ppp_interface_id id
);
19 PPPDeskbarReplicant(BMessage
*message
);
20 virtual ~PPPDeskbarReplicant();
22 static PPPDeskbarReplicant
*Instantiate(BMessage
*data
);
23 virtual status_t
Archive(BMessage
*data
, bool deep
= true) const;
25 virtual void AttachedToWindow();
26 virtual void MessageReceived(BMessage
*message
);
28 virtual void MouseDown(BPoint point
);
29 virtual void MouseUp(BPoint point
);
31 virtual void Draw(BRect updateRect
);
37 PPPStatusWindow
*fWindow
;
38 BPopUpMenu
*fContextMenu
;