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.
5 #ifndef INQUIRY_WINDOW_H
6 #define INQUIRY_WINDOW_H
8 #include <Application.h>
22 class DiscoveryListener
;
25 class InquiryPanel
: public BWindow
28 InquiryPanel(BRect frame
, LocalDevice
* lDevice
= NULL
);
29 bool QuitRequested(void);
30 void MessageReceived(BMessage
*message
);
33 BStatusBar
* fScanProgress
;
35 BButton
* fInquiryButton
;
37 BListView
* fRemoteList
;
38 BScrollView
* fScrollView
;
39 BMessage
* fRetrieveMessage
;
40 BMessage
* fSecondsMessage
;
41 BMessenger fMessenger
;
45 Bluetooth::LocalDevice
* fLocalDevice
;
46 Bluetooth::DiscoveryAgent
* fDiscoveryAgent
;
47 Bluetooth::DiscoveryListener
* fDiscoveryListener
;
49 void UpdateListStatus(void);
51 rgb_color activeColor
;