bthci/bthci2/CommandsEvents/interface/readbuffersizecompleteevent.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 // This file was generated automatically from the template completeeventheader.tmpl
       
    15 // on Wed, 25 Jul 2007 17:00:36 (time stamp)
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @publishedPartner
       
    22  @released
       
    23 */
       
    24 
       
    25 #ifndef READBUFFERSIZECOMPLETEEVENT_H
       
    26 #define READBUFFERSIZECOMPLETEEVENT_H
       
    27 
       
    28 #include <bluetooth/hci/commandcompleteevent.h>
       
    29 
       
    30 /**
       
    31 This class represents command completion event for the ReadBufferSize HCI command
       
    32 */
       
    33 
       
    34 class TReadBufferSizeCompleteEvent : public THCICommandCompleteEvent
       
    35 	{
       
    36 public:
       
    37 	// Construct an event object to wrap existing event data received from the Controller
       
    38 	IMPORT_C TReadBufferSizeCompleteEvent(const TDesC8& aEventData);
       
    39 	// Construct an event object to generate a faked event using the supplied parameters
       
    40 	IMPORT_C TReadBufferSizeCompleteEvent(THCIErrorCode aStatus, TUint8 aNumHCICommandPackets, TUint16 aHCACLDataPacketLength, TUint8 aHCSynchronousDataPacketLength, TUint16 aHCTotalNumACLDataPackets, TUint16 aHCTotalNumSynchronousDataPackets, TDes8& aEventData);
       
    41 
       
    42 	// The static Cast method is used to obtain a pointer to the derived class object
       
    43 	IMPORT_C static TReadBufferSizeCompleteEvent& Cast(const THCIEventBase& aEvent);
       
    44 
       
    45 	// Accessor methods for the parameters of the event
       
    46 	IMPORT_C TUint16 HCACLDataPacketLength() const;
       
    47 	IMPORT_C TUint8 HCSynchronousDataPacketLength() const;
       
    48 	IMPORT_C TUint16 HCTotalNumACLDataPackets() const;
       
    49 	IMPORT_C TUint16 HCTotalNumSynchronousDataPackets() const;
       
    50 	
       
    51 	};
       
    52 	
       
    53 #endif // READBUFFERSIZECOMPLETEEVENT_H