/* * Copyright 2008-09, Oliver Ruiz Dorantes, * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef BLUETOOTHDEVICEVIEW_H_ #define BLUETOOTHDEVICEVIEW_H_ #include #include #include #include #include #include class BStringView; class BitmapView; class BluetoothDeviceView : public BView { public: BluetoothDeviceView(BluetoothDevice* bDevice, uint32 flags = B_WILL_DRAW); ~BluetoothDeviceView(); void SetBluetoothDevice(BluetoothDevice* bDevice); virtual void MessageReceived(BMessage* message); virtual void SetTarget(BHandler* target); virtual void SetEnabled(bool value); protected: BluetoothDevice* fDevice; BStringView* fName; BStringView* fBdaddr; BStringView* fClassService; BStringView* fClass; BStringView* fHCIVersionProperties; BStringView* fLMPVersionProperties; BStringView* fManufacturerProperties; BStringView* fACLBuffersProperties; BStringView* fSCOBuffersProperties; BView* fIcon; }; #endif