bthci/bthci2/hctl/interface/hctldataobserver.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @publishedPartner
       
    19  @released
       
    20 */
       
    21 
       
    22 #ifndef HCTLDATAOBSERVER_H
       
    23 #define HCTLDATAOBSERVER_H
       
    24 
       
    25 #include <e32def.h>
       
    26 
       
    27 class TDesC8;
       
    28 
       
    29 /** The UID associated with this version of the incoming data interface. */ 
       
    30 const TInt KHCTLDataObserverUid = 0x102736F0;
       
    31 
       
    32 /**
       
    33 Interface for receiving HCI data (ACL and Synchronous) from the HCTL.
       
    34 
       
    35 Licensee is free to replace this interface because it is used only between
       
    36 licensee components.
       
    37 */
       
    38 class MHCTLDataObserver
       
    39 	{
       
    40 public:
       
    41 	/**
       
    42 	Called when ACL data has been received from over the HCTL.
       
    43 
       
    44 	@param aData The ACL data.
       
    45 	*/
       
    46 	virtual void MhdoProcessAclData(const TDesC8& aData) =0;
       
    47 	
       
    48 	/**
       
    49 	Called when Synchronous data has been received from over the HCTL.
       
    50 
       
    51 	@param aData The Synchronous data.
       
    52 	*/
       
    53 	virtual void MhdoProcessSynchronousData(const TDesC8& aData) =0;
       
    54 	};
       
    55 
       
    56 #endif // HCTLDATAOBSERVER_H