2021-03-27 15:57:27 +03:00
|
|
|
/*
|
2021-03-31 22:58:20 +03:00
|
|
|
* Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
|
2021-03-27 15:57:27 +03:00
|
|
|
* Copyright 2021, Haiku, Inc.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Tri-Edge AI <triedgeai@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CONNECTION_VIEW_H_
|
|
|
|
#define _CONNECTION_VIEW_H_
|
|
|
|
|
|
|
|
#include <Window.h>
|
|
|
|
#include <View.h>
|
|
|
|
#include <StringView.h>
|
|
|
|
#include <GroupLayout.h>
|
|
|
|
#include <GroupLayoutBuilder.h>
|
|
|
|
#include <Font.h>
|
|
|
|
#include <String.h>
|
|
|
|
|
|
|
|
namespace Bluetooth {
|
|
|
|
|
|
|
|
class BluetoothIconView;
|
|
|
|
|
|
|
|
class ConnectionView : public BView {
|
|
|
|
public:
|
|
|
|
ConnectionView(BRect frame,
|
|
|
|
BString device, BString address);
|
|
|
|
|
|
|
|
void Pulse();
|
|
|
|
|
|
|
|
private:
|
|
|
|
BString strMessage;
|
|
|
|
BluetoothIconView* fIcon;
|
|
|
|
BStringView* fMessage;
|
|
|
|
BStringView* fDeviceLabel;
|
|
|
|
BStringView* fDeviceText;
|
|
|
|
BStringView* fAddressLabel;
|
|
|
|
BStringView* fAddressText;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _CONNECTION_VIEW_H_ */
|