bthci/bthci2/CommandsEvents/generator/eventheader.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 eventheader.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/event.h>
       
    29 
       
    30 /**
       
    31 This class represents the $EVENT HCI Event
       
    32 */
       
    33 class $CLASSNAME : public THCIEventBase
       
    34 	{
       
    35 public:
       
    36 	// Construct an event object to wrap existing event data received from the Controller
       
    37 	IMPORT_C $CLASSNAME(const TDesC8& aEventData);
       
    38 	// Construct a faked event, storing the supplied event parameters into the supplied empty event data buffer.
       
    39 	IMPORT_C $CLASSNAME($FAKERPARAMETERS);
       
    40 	// Destructor
       
    41 	IMPORT_C ~$CLASSNAME();
       
    42 
       
    43 	// The static Cast method is used to obtain a pointer to the derived class object
       
    44 	IMPORT_C static $CLASSNAME& Cast(const THCIEventBase& aEvent);
       
    45 
       
    46 	// Accessor methods for the parameters of the event
       
    47 	$ACCESSOR_DEFINITION
       
    48 	};
       
    49 	
       
    50 #endif // ${HEADERGUARD}_H