2 * Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef _PINCODE_REQUEST_WINDOW_H
6 #define _PINCODE_REQUEST_WINDOW_H
12 #include <bluetooth/bluetooth.h>
13 #include <bluetooth/HCI/btHCI.h>
23 class PincodeWindow
: public BWindow
26 PincodeWindow(bdaddr_t address
, hci_id hid
);
27 PincodeWindow(RemoteDevice
* rDevice
);
28 virtual void MessageReceived(BMessage
*msg
);
29 virtual bool QuitRequested();
30 void SetBDaddr(BString address
);
37 BStringView
* fMessage
;
38 BStringView
* fRemoteInfo
;
39 BButton
* fAcceptButton
;
40 BButton
* fCancelButton
;
41 BTextControl
* fPincodeText
;
46 #ifndef _BT_USE_EXPLICIT_NAMESPACE
47 using Bluetooth::PincodeWindow
;