1/* 2* Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com 3* Copyright 2021, Haiku, Inc. 4* Distributed under the terms of the MIT License. 5* 6* Authors: 7* Tri-Edge AI <triedgeai@gmail.com> 8*/ 9 10#ifndef _CONNECTION_INCOMING_H_ 11#define _CONNECTION_INCOMING_H_ 12 13#include <iostream> 14#include <stdio.h> 15#include <stdlib.h> 16 17#include <AppKit.h> 18#include <SupportKit.h> 19#include <InterfaceKit.h> 20 21#include <ConnectionView.h> 22#include <bluetooth/RemoteDevice.h> 23#include <bluetooth/bdaddrUtils.h> 24 25 26namespace Bluetooth { 27 28class RemoteDevice; 29class ConnectionView; 30 31class ConnectionIncoming : public BWindow { 32public: 33 ConnectionIncoming(bdaddr_t address); 34 ConnectionIncoming(RemoteDevice* rDevice = NULL); 35 ~ConnectionIncoming(); 36 37 virtual void MessageReceived(BMessage* message); 38 virtual bool QuitRequested(); 39 40private: 41 ConnectionView* fView; 42}; 43 44} 45 46#ifndef _BT_USE_EXPLICIT_NAMESPACE 47using Bluetooth::ConnectionIncoming; 48#endif 49 50#endif /* _CONNECTION_INCOMING_H_ */ 51