1 /* 2 * Copyright 2008-09, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com> 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5 #ifndef ANTIALIASING_SETTINGS_VIEW_H 6 #define ANTIALIASING_SETTINGS_VIEW_H 7 8 9 #include <View.h> 10 11 class BBox; 12 class BMenuField; 13 class BPopUpMenu; 14 class BSlider; 15 16 class ExtendedLocalDeviceView; 17 18 class BluetoothSettingsView : public BView { 19 public: 20 BluetoothSettingsView(const char* name); 21 virtual ~BluetoothSettingsView(); 22 23 virtual void AttachedToWindow(); 24 virtual void MessageReceived(BMessage* message); 25 26 27 private: 28 void _BuildConnectionPolicy(); 29 void _BuildClassMenu(); 30 void _BuildLocalDevicesMenu(); 31 32 protected: 33 float fDivider; 34 35 BMenuField* fPolicyMenuField; 36 BPopUpMenu* fPolicyMenu; 37 BMenuField* fClassMenuField; 38 BPopUpMenu* fClassMenu; 39 BMenuField* fLocalDevicesMenuField; 40 BPopUpMenu* fLocalDevicesMenu; 41 42 ExtendedLocalDeviceView* fExtDeviceView; 43 44 BSlider* fInquiryTimeControl; 45 46 }; 47 48 #endif // ANTIALIASING_SETTINGS_VIEW_H 49