2 * Copyright 2009, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Michael Weirauch, dev@m-phasis.de
8 #ifndef DESKBAR_REPLICANT_H
9 #define DESKBAR_REPLICANT_H
15 extern const char* kDeskbarItemName
;
18 class DeskbarReplicant
: public BView
{
20 DeskbarReplicant(BRect frame
, int32 resizingMode
);
21 DeskbarReplicant(BMessage
* archive
);
22 virtual ~DeskbarReplicant();
24 static DeskbarReplicant
* Instantiate(BMessage
* archive
);
25 virtual status_t
Archive(BMessage
* archive
, bool deep
= true) const;
27 virtual void AttachedToWindow();
29 virtual void Draw(BRect updateRect
);
31 virtual void MessageReceived(BMessage
* message
);
32 virtual void MouseDown(BPoint where
);
37 void _QuitBluetoothServer();
39 void _ShowErrorAlert(BString msg
, status_t status
);
44 #endif // DESKBAR_REPLICANT_H