|
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 eventheader.tmpl |
|
15 // on Wed, 05 Dec 2007 14:54:32 (time stamp) |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @publishedPartner |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef USERPASSKEYREQUESTEVENT_H |
|
26 #define USERPASSKEYREQUESTEVENT_H |
|
27 |
|
28 #include <bluetooth/hci/event.h> |
|
29 |
|
30 /** |
|
31 This class represents the UserPasskeyRequest HCI Event |
|
32 */ |
|
33 class TUserPasskeyRequestEvent : public THCIEventBase |
|
34 { |
|
35 public: |
|
36 // Construct an event object to wrap existing event data received from the Controller |
|
37 IMPORT_C TUserPasskeyRequestEvent(const TDesC8& aEventData); |
|
38 // Construct a faked event, storing the supplied event parameters into the supplied empty event data buffer. |
|
39 IMPORT_C TUserPasskeyRequestEvent(const TBTDevAddr& aBDADDR, TDes8& aEventData); |
|
40 // Destructor |
|
41 IMPORT_C ~TUserPasskeyRequestEvent(); |
|
42 |
|
43 // The static Cast method is used to obtain a pointer to the derived class object |
|
44 IMPORT_C static TUserPasskeyRequestEvent& Cast(const THCIEventBase& aEvent); |
|
45 |
|
46 // Accessor methods for the parameters of the event |
|
47 IMPORT_C TBTDevAddr BDADDR() const; |
|
48 |
|
49 }; |
|
50 |
|
51 #endif // USERPASSKEYREQUESTEVENT_H |