epoc32/include/bluetooth/hci/hctlchannelobserver.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/bluetooth/hci/hctlchannelobserver.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,73 +0,0 @@
     1.4 -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -
    1.20 -
    1.21 -/**
    1.22 - @file
    1.23 - @publishedPartner
    1.24 -*/
    1.25 -
    1.26 -#ifndef HCTLCHANNELOBSERVER_H
    1.27 -#define HCTLCHANNELOBSERVER_H
    1.28 -
    1.29 -/** Definition of the HCI transport channel type */
    1.30 -typedef TUint16 THCITransportChannel;	
    1.31 -
    1.32 -/** No HCI transport channels available for sending */
    1.33 -static const THCITransportChannel KHCITransportNoChannels		= 0x0000;
    1.34 -
    1.35 -/** Command HCI transport channel available for sending */
    1.36 -static const THCITransportChannel KHCITransportCommandChannel	= 0x0001;
    1.37 -
    1.38 -/** ACL data HCI transport channel available for sending */
    1.39 -static const THCITransportChannel KHCITransportACLDataChannel	= 0x0002;
    1.40 -
    1.41 -/** SCO data HCI transport channel available for sending */
    1.42 -static const THCITransportChannel KHCITransportSCODataChannel	= 0x0004;
    1.43 -
    1.44 -/** All HCI transport channels available for sending */
    1.45 -static const THCITransportChannel KHCITransportAllChannels = static_cast<THCITransportChannel>(KHCITransportCommandChannel | 
    1.46 -																							   KHCITransportACLDataChannel | 
    1.47 -																							   KHCITransportSCODataChannel);
    1.48 -
    1.49 -/** The UID associated with the MHCTLChannelObserver interface. */
    1.50 -const TInt KHCTLChannelObserverUid = 0x102736EF;
    1.51 -
    1.52 -/**
    1.53 -API for observing information regarding the status of a HCTL channel.
    1.54 -
    1.55 -This should be implemented by the stack so it can control the multiplexing
    1.56 -of the command and data sent over the HCTL.
    1.57 -*/
    1.58 -class MHCTLChannelObserver
    1.59 -	{
    1.60 -public:
    1.61 -	/**
    1.62 -	Indication that a HCTL channel has been opened.
    1.63 -
    1.64 -	@param aChannel A bitmask containing the channels which are now open.
    1.65 -	*/
    1.66 -	virtual void MhcoChannelOpen(THCITransportChannel aChannels) =0;
    1.67 -
    1.68 -	/**
    1.69 -	Indication that a HCTL channel has been closed.
    1.70 -
    1.71 -	@param aChannel A bitmask containing the channels which are now closed.
    1.72 -	*/
    1.73 -	virtual void MhcoChannelClosed(THCITransportChannel aChannels) =0;
    1.74 -	};
    1.75 -
    1.76 -#endif // HCTLCHANNELOBSERVER_H