|
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 commandsource.tmpl |
|
15 // on Thu, 29 May 2008 15:17:54 (time stamp) |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalComponent |
|
22 */ |
|
23 |
|
24 #include <bluetooth/hci/readlocaloobdatacommand.h> |
|
25 #include <bluetooth/hci/event.h> |
|
26 #include <bluetooth/hci/commandcompleteevent.h> |
|
27 #include <bluetooth/hci/hciframe.h> |
|
28 #include <bluetooth/hci/hciopcodes.h> |
|
29 |
|
30 |
|
31 #ifdef __FLOG_ACTIVE |
|
32 _LIT8(KLogComponent, LOG_COMPONENT_COMMANDSEVENTS_SYMBIAN); |
|
33 #endif |
|
34 |
|
35 |
|
36 |
|
37 // Factory methods |
|
38 |
|
39 EXPORT_C CReadLocalOOBDataCommand* CReadLocalOOBDataCommand::NewL() |
|
40 { |
|
41 CReadLocalOOBDataCommand* self = new (ELeave) CReadLocalOOBDataCommand(); |
|
42 CleanupStack::PushL(self); |
|
43 self->CHCICommandBase::BaseConstructL(); |
|
44 CleanupStack::Pop(self); |
|
45 return self; |
|
46 } |
|
47 |
|
48 // Constructors |
|
49 |
|
50 CReadLocalOOBDataCommand::CReadLocalOOBDataCommand() |
|
51 : CHCICommandBase(KReadLocalOOBDataOpcode) |
|
52 { |
|
53 SetExpectsCommandStatusEvent(EFalse); |
|
54 } |
|
55 |
|
56 // Destructor |
|
57 CReadLocalOOBDataCommand::~CReadLocalOOBDataCommand() |
|
58 { |
|
59 |
|
60 } |
|
61 |
|
62 |
|
63 |
|
64 // Override of pure virtual from CHCICommandBase. This method embodies the knowledge |
|
65 // of how to format the specifics of this command into the HCTL command frame. |
|
66 void CReadLocalOOBDataCommand::Format(CHctlCommandFrame& /*aCommandFrame*/) const |
|
67 { |
|
68 |
|
69 } |
|
70 |
|
71 // Assign new values to the parameters of this command |
|
72 EXPORT_C void CReadLocalOOBDataCommand::Reset() |
|
73 { |
|
74 |
|
75 } |
|
76 |
|
77 // Accessor methods for the parameters of the command |
|
78 |
|
79 |
|
80 |
|
81 // Extension function. Use this to retrieve any extension interfaces from CReadLocalOOBDataCommand |
|
82 // or any class from which it derives. |
|
83 /*virtual*/ TInt CReadLocalOOBDataCommand::Extension_(TUint aExtensionId, TAny*& aInterface, TAny* aData) |
|
84 { |
|
85 // To add an additional interface implementation specific for this class check the |
|
86 // provided ID and return an appropriate interface. |
|
87 |
|
88 // If a specific interface implementation is not provided - forward the call to the base class. |
|
89 return CHCICommandBase::Extension_(aExtensionId, aInterface, aData); |
|
90 } |
|
91 |