LibreOffice Module sd (master) 1
OSXBluetooth.h
Go to the documentation of this file.
1/* -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#import <IOBluetooth/objc/IOBluetoothRFCOMMChannel.h>
13
14#include "IBluetoothSocket.hxx"
15#include "Communicator.hxx"
17
18@interface ChannelDelegate : NSObject<IOBluetoothRFCOMMChannelDelegate>
19{
23
24- (id) initWithCommunicatorAndSocket:(sd::Communicator*)communicator socket:(sd::OSXBluetoothWrapper*)socket;
25- (void) rfcommChannelData:(IOBluetoothRFCOMMChannel*)rfcommChannel data:(void *)dataPointer length:(size_t)dataLength;
26- (void) rfcommChannelClosed:(IOBluetoothRFCOMMChannel*)rfcommChannel;
27
28@end
29
30/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Class used for communication with one single client, dealing with all tasks specific to this client.
sd::Communicator * pCommunicator
Definition: OSXBluetooth.h:21
sd::OSXBluetoothWrapper * pSocket
Definition: OSXBluetooth.h:22