/* * Copyright 2008-09, Oliver Ruiz Dorantes, * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef BLUETOOTH_SETTINGS_VIEW_H #define BLUETOOTH_SETTINGS_VIEW_H #include class BBox; class BMenuField; class BPopUpMenu; class BSlider; class ExtendedLocalDeviceView; class BluetoothSettingsView : public BView { public: BluetoothSettingsView(const char* name); virtual ~BluetoothSettingsView(); virtual void AttachedToWindow(); virtual void MessageReceived(BMessage* message); private: void _BuildConnectionPolicy(); void _BuildClassMenu(); void _BuildLocalDevicesMenu(); bool _SetDeviceClass(uint8 major, uint8 minor , uint16 service); protected: float fDivider; BMenuField* fPolicyMenuField; BPopUpMenu* fPolicyMenu; BMenuField* fClassMenuField; BPopUpMenu* fClassMenu; BMenuField* fLocalDevicesMenuField; BPopUpMenu* fLocalDevicesMenu; ExtendedLocalDeviceView* fExtDeviceView; BSlider* fInquiryTimeControl; }; #endif // BLUETOOTH_SETTINGS_VIEW_H