/* * Copyright 2008-09, Oliver Ruiz Dorantes, * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef INQUIRY_WINDOW_H #define INQUIRY_WINDOW_H #include #include #include #include #include class BStatusBar; class BButton; class BTextView; class BListView; class LocalDevice; class DiscoveryAgent; class DiscoveryListener; class InquiryPanel : public BWindow { public: InquiryPanel(BRect frame, LocalDevice* lDevice = NULL); bool QuitRequested(void); void MessageReceived(BMessage *message); private: BStatusBar* fScanProgress; BButton* fAddButton; BButton* fInquiryButton; BTextView* fMessage; BListView* fRemoteList; BMessageRunner* fRunner; bool fScanning; LocalDevice* fLocalDevice; DiscoveryAgent* fDiscoveryAgent; DiscoveryListener* fDiscoveryListener; void UpdateUIStatus(void); rgb_color activeColor; }; #endif