|
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 Tue, 15 Jan 2008 17:26:22 (time stamp) |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @publishedPartner |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef READINQUIRYRESPONSETRANSMITPOWERLEVELCOMPLETEEVENT_H |
|
26 #define READINQUIRYRESPONSETRANSMITPOWERLEVELCOMPLETEEVENT_H |
|
27 |
|
28 #include <bluetooth/hci/commandcompleteevent.h> |
|
29 |
|
30 /** |
|
31 This class represents command completion event for the ReadInquiryResponseTransmitPowerLevel HCI command |
|
32 */ |
|
33 |
|
34 class TReadInquiryResponseTransmitPowerLevelCompleteEvent : public THCICommandCompleteEvent |
|
35 { |
|
36 public: |
|
37 // Construct an event object to wrap existing event data received from the Controller |
|
38 IMPORT_C TReadInquiryResponseTransmitPowerLevelCompleteEvent(const TDesC8& aEventData); |
|
39 // Construct an event object to generate a faked event using the supplied parameters |
|
40 IMPORT_C TReadInquiryResponseTransmitPowerLevelCompleteEvent(THCIErrorCode aStatus, TUint8 aNumHCICommandPackets, TInt8 aTxPowerLevel, TDes8& aEventData); |
|
41 |
|
42 // The static Cast method is used to obtain a pointer to the derived class object |
|
43 IMPORT_C static TReadInquiryResponseTransmitPowerLevelCompleteEvent& Cast(const THCIEventBase& aEvent); |
|
44 |
|
45 // Accessor methods for the parameters of the event |
|
46 IMPORT_C TInt8 TxPowerLevel() const; |
|
47 |
|
48 }; |
|
49 |
|
50 #endif // READINQUIRYRESPONSETRANSMITPOWERLEVELCOMPLETEEVENT_H |