bthci/bthci2/CommandsEvents/interface/writecurrentiaclapcommand.h
changeset 0 29b1cd4cb562
child 16 9f17f914e828
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 commandheader.tmpl
       
    15 // on Wed, 25 Jul 2007 17:00:39 (time stamp)
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @publishedPartner
       
    22  @released
       
    23 */
       
    24 
       
    25 #ifndef WRITECURRENTIACLAPCOMMAND_H
       
    26 #define WRITECURRENTIACLAPCOMMAND_H
       
    27 
       
    28 #include <bluetooth/hci/command.h>
       
    29 #include <bluetooth/hci/hcitypes.h> // in case the generated class uses Bluetooth types
       
    30 
       
    31 /**
       
    32 This class represents the WriteCurrentIACLAP HCI Command
       
    33 */
       
    34 
       
    35 class CWriteCurrentIACLAPCommand : public CHCICommandBase
       
    36 	{
       
    37 public:
       
    38 	// Construction
       
    39 	IMPORT_C static CWriteCurrentIACLAPCommand* NewL(TUint8 aNumCurrentIAC, const RArray< TUint32 >& aIACLAP);
       
    40 	IMPORT_C static CWriteCurrentIACLAPCommand* NewL();
       
    41 	// Destructor
       
    42 	~CWriteCurrentIACLAPCommand();
       
    43 
       
    44 	
       
    45 
       
    46 	// Assign new values to the parameters of this command
       
    47 	IMPORT_C void Reset(TUint8 aNumCurrentIAC, const RArray< TUint32 >& aIACLAP);
       
    48 
       
    49 	// Accessor methods for the parameters of the command
       
    50 	IMPORT_C TUint8 NumCurrentIAC() const;
       
    51 	IMPORT_C TUint32 IACLAP(TInt aIndex) const;
       
    52 	
       
    53 	// Extension function
       
    54 	virtual TInt Extension_(TUint aExtensionId, TAny*& aInterface, TAny* aData);
       
    55 
       
    56 private:
       
    57 	CWriteCurrentIACLAPCommand(TUint8 aNumCurrentIAC, const RArray< TUint32 >& aIACLAP);
       
    58 	CWriteCurrentIACLAPCommand();
       
    59 	
       
    60 	// From CHCICommandBase - knows how to format the parameters of this specific command
       
    61 	// into the HCTL frame
       
    62 	virtual void Format(CHctlCommandFrame& aCommandFrame) const;
       
    63   
       
    64 private:
       
    65 	TUint8 iNumCurrentIAC;
       
    66 	RArray< TUint32 > iIACLAP;
       
    67 	
       
    68 	};
       
    69 
       
    70 #endif // WRITECURRENTIACLAPCOMMAND_H