116196fd3SFredrik Modéen /* 2*91cbfa85SFredrik Modéen * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com 316196fd3SFredrik Modéen * Copyright 2021, Haiku, Inc. 416196fd3SFredrik Modéen * Distributed under the terms of the MIT License. 516196fd3SFredrik Modéen * 616196fd3SFredrik Modéen * Authors: 716196fd3SFredrik Modéen * Tri-Edge AI <triedgeai@gmail.com> 816196fd3SFredrik Modéen */ 916196fd3SFredrik Modéen 1016196fd3SFredrik Modéen #ifndef _CONNECTION_VIEW_H_ 1116196fd3SFredrik Modéen #define _CONNECTION_VIEW_H_ 1216196fd3SFredrik Modéen 1316196fd3SFredrik Modéen #include <Window.h> 1416196fd3SFredrik Modéen #include <View.h> 1516196fd3SFredrik Modéen #include <StringView.h> 1616196fd3SFredrik Modéen #include <GroupLayout.h> 1716196fd3SFredrik Modéen #include <GroupLayoutBuilder.h> 1816196fd3SFredrik Modéen #include <Font.h> 1916196fd3SFredrik Modéen #include <String.h> 2016196fd3SFredrik Modéen 2116196fd3SFredrik Modéen namespace Bluetooth { 2216196fd3SFredrik Modéen 2316196fd3SFredrik Modéen class BluetoothIconView; 2416196fd3SFredrik Modéen 2516196fd3SFredrik Modéen class ConnectionView : public BView { 2616196fd3SFredrik Modéen public: 2716196fd3SFredrik Modéen ConnectionView(BRect frame, 2816196fd3SFredrik Modéen BString device, BString address); 2916196fd3SFredrik Modéen 3016196fd3SFredrik Modéen void Pulse(); 3116196fd3SFredrik Modéen 3216196fd3SFredrik Modéen private: 3316196fd3SFredrik Modéen BString strMessage; 3416196fd3SFredrik Modéen BluetoothIconView* fIcon; 3516196fd3SFredrik Modéen BStringView* fMessage; 3616196fd3SFredrik Modéen BStringView* fDeviceLabel; 3716196fd3SFredrik Modéen BStringView* fDeviceText; 3816196fd3SFredrik Modéen BStringView* fAddressLabel; 3916196fd3SFredrik Modéen BStringView* fAddressText; 4016196fd3SFredrik Modéen }; 4116196fd3SFredrik Modéen 4216196fd3SFredrik Modéen } 4316196fd3SFredrik Modéen 4416196fd3SFredrik Modéen #endif /* _CONNECTION_VIEW_H_ */ 45