bthci/bthci2/CommandsEvents/generator/commandheader.tmpl
changeset 0 29b1cd4cb562
child 4 28479eeba3fb
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 the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-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 $GENERATE_TIME_STAMP
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @publishedPartner
       
    22  @released
       
    23 */
       
    24 
       
    25 #ifndef ${HEADERGUARD}_H
       
    26 #define ${HEADERGUARD}_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 $COMMAND HCI Command
       
    33 */
       
    34 
       
    35 class $CLASSNAME : public CHCICommandBase
       
    36 	{
       
    37 public:
       
    38 	// Construction
       
    39 	$NEWL_DEFINITIONS
       
    40 	// Destructor
       
    41 	~${CLASSNAME}();
       
    42 
       
    43 	$EVENT_MATCH_DEFINITIONS
       
    44 
       
    45 	// Assign new values to the parameters of this command
       
    46 	IMPORT_C void Reset($PARAMETERS);
       
    47 
       
    48 	// Accessor methods for the parameters of the command
       
    49 	$ACCESSOR_DEFINITIONS
       
    50 	
       
    51 	// Extension function
       
    52 	virtual TInt Extension_(TUint aExtensionId, TAny*& aInterface, TAny* aData);
       
    53 
       
    54 private:
       
    55 	$CONSTRUCTOR_DEFINITIONS
       
    56 	
       
    57 	// From CHCICommandBase - knows how to format the parameters of this specific command
       
    58 	// into the HCTL frame
       
    59 	virtual void Format(CHctlCommandFrame& aCommandFrame) const;
       
    60   
       
    61 private:
       
    62 	$MEMBERS
       
    63 	};
       
    64 
       
    65 #endif // ${HEADERGUARD}_H