libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / preferences / bluetooth / InquiryPanel.h
blob02389879734dd34b5f787c6959603eb916cb3965
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 INQUIRY_WINDOW_H
6 #define INQUIRY_WINDOW_H
8 #include <Application.h>
9 #include <Button.h>
10 #include <Window.h>
11 #include <Message.h>
12 #include <TabView.h>
14 class BStatusBar;
15 class BButton;
16 class BTextView;
17 class BListView;
18 class BScrollView;
19 namespace Bluetooth {
20 class LocalDevice;
21 class DiscoveryAgent;
22 class DiscoveryListener;
25 class InquiryPanel : public BWindow
27 public:
28 InquiryPanel(BRect frame, LocalDevice* lDevice = NULL);
29 bool QuitRequested(void);
30 void MessageReceived(BMessage *message);
32 private:
33 BStatusBar* fScanProgress;
34 BButton* fAddButton;
35 BButton* fInquiryButton;
36 BTextView* fMessage;
37 BListView* fRemoteList;
38 BScrollView* fScrollView;
39 BMessage* fRetrieveMessage;
40 BMessage* fSecondsMessage;
41 BMessenger fMessenger;
43 bool fScanning;
44 bool fRetrieving;
45 Bluetooth::LocalDevice* fLocalDevice;
46 Bluetooth::DiscoveryAgent* fDiscoveryAgent;
47 Bluetooth::DiscoveryListener* fDiscoveryListener;
49 void UpdateListStatus(void);
51 rgb_color activeColor;
54 #endif