2 * Copyright 2010, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef WIRELESS_NETWORK_MENU_ITEM_H
6 #define WIRELESS_NETWORK_MENU_ITEM_H
12 class WirelessNetworkMenuItem
: public BMenuItem
{
14 WirelessNetworkMenuItem(const char* name
,
15 int32 signalQuality
, int32 authenticationMode
,
17 virtual ~WirelessNetworkMenuItem();
19 void SetSignalQuality(int32 quality
);
20 int32
SignalQuality() const
22 BString
AuthenticationName(int32 mode
);
25 virtual void DrawContent();
26 virtual void Highlight(bool isHighlighted
);
27 virtual void GetContentSize(float* width
, float* height
);
35 #endif // WIRELESS_NETWORK_MENU_ITEM_H