haiku/headers/private/bluetooth/ConnectionIncoming.h
Fredrik Modéen 91cbfa855e Bluetooth Pref: Inactiveate button and things that don't do anything.
* Inactiveate button and things that don't do anything.
* Those button and controlles that hade any actions in the Bluetooth Pref now saves in settings.
* Fix some windows/views.
* Fix Copyright in last Bluetooth commit.
* Last commit before we move saving settings with BMessage.
* Changed PoupMenu to BOptionPopUp

Change-Id: I32b85f1985b558d24b294a184665e08e6ce18a7d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3829
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-04-10 20:28:43 +00:00

51 lines
1005 B
C++

/*
* Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
* Copyright 2021, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Tri-Edge AI <triedgeai@gmail.com>
*/
#ifndef _CONNECTION_INCOMING_H_
#define _CONNECTION_INCOMING_H_
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <AppKit.h>
#include <SupportKit.h>
#include <InterfaceKit.h>
#include <ConnectionView.h>
#include <bluetooth/RemoteDevice.h>
#include <bluetooth/bdaddrUtils.h>
namespace Bluetooth {
class RemoteDevice;
class ConnectionView;
class ConnectionIncoming : public BWindow {
public:
ConnectionIncoming(bdaddr_t address);
ConnectionIncoming(RemoteDevice* rDevice = NULL);
~ConnectionIncoming();
virtual void MessageReceived(BMessage* message);
virtual bool QuitRequested();
private:
ConnectionView* fView;
};
}
#ifndef _BT_USE_EXPLICIT_NAMESPACE
using Bluetooth::ConnectionIncoming;
#endif
#endif /* _CONNECTION_INCOMING_H_ */