bthci/hci2implementations/CommandsEvents/symbian/src/writecurrentiaclapcommand.cpp
equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // This file was generated automatically from the template commandsource.tmpl |
14 // This file was generated automatically from the template commandsource.tmpl |
15 // on Thu, 29 May 2008 15:17:52 (time stamp) |
15 // on Wed, 07 Apr 2010 11:59:28 (time stamp) |
16 // |
16 // |
17 // |
17 // |
18 |
18 |
19 /** |
19 /** |
20 @file |
20 @file |
36 |
36 |
37 // Factory methods |
37 // Factory methods |
38 |
38 |
39 EXPORT_C CWriteCurrentIACLAPCommand* CWriteCurrentIACLAPCommand::NewL(TUint8 aNumCurrentIAC, const RArray< TUint32 >& aIACLAP) |
39 EXPORT_C CWriteCurrentIACLAPCommand* CWriteCurrentIACLAPCommand::NewL(TUint8 aNumCurrentIAC, const RArray< TUint32 >& aIACLAP) |
40 { |
40 { |
41 CWriteCurrentIACLAPCommand* self = new (ELeave) CWriteCurrentIACLAPCommand(aNumCurrentIAC, aIACLAP); |
41 CWriteCurrentIACLAPCommand* self = new (ELeave) CWriteCurrentIACLAPCommand(aNumCurrentIAC); |
42 CleanupStack::PushL(self); |
42 CleanupStack::PushL(self); |
43 self->CHCICommandBase::BaseConstructL(); |
43 self->ConstructL(aIACLAP); |
44 CleanupStack::Pop(self); |
44 CleanupStack::Pop(self); |
45 return self; |
45 return self; |
46 } |
46 } |
47 |
47 |
48 EXPORT_C CWriteCurrentIACLAPCommand* CWriteCurrentIACLAPCommand::NewL() |
48 EXPORT_C CWriteCurrentIACLAPCommand* CWriteCurrentIACLAPCommand::NewL() |
54 return self; |
54 return self; |
55 } |
55 } |
56 |
56 |
57 // Constructors |
57 // Constructors |
58 |
58 |
59 CWriteCurrentIACLAPCommand::CWriteCurrentIACLAPCommand(TUint8 aNumCurrentIAC, const RArray< TUint32 >& aIACLAP) |
59 CWriteCurrentIACLAPCommand::CWriteCurrentIACLAPCommand(TUint8 aNumCurrentIAC) |
60 : CHCICommandBase(KWriteCurrentIACLAPOpcode) |
60 : CHCICommandBase(KWriteCurrentIACLAPOpcode) |
61 , iNumCurrentIAC(aNumCurrentIAC) |
61 , iNumCurrentIAC(aNumCurrentIAC) |
62 , iIACLAP(aIACLAP) |
|
63 { |
62 { |
64 SetExpectsCommandStatusEvent(EFalse); |
63 SetExpectsCommandStatusEvent(EFalse); |
65 } |
64 } |
66 |
65 |
67 CWriteCurrentIACLAPCommand::CWriteCurrentIACLAPCommand() |
66 CWriteCurrentIACLAPCommand::CWriteCurrentIACLAPCommand() |
68 : CHCICommandBase(KWriteCurrentIACLAPOpcode) |
67 : CHCICommandBase(KWriteCurrentIACLAPOpcode) |
69 { |
68 { |
70 SetExpectsCommandStatusEvent(EFalse); |
69 SetExpectsCommandStatusEvent(EFalse); |
|
70 } |
|
71 |
|
72 void CWriteCurrentIACLAPCommand::ConstructL(const RArray< TUint32 >& aIACLAP) |
|
73 { |
|
74 CHCICommandBase::BaseConstructL(); |
|
75 iIACLAP = aIACLAP; |
71 } |
76 } |
72 |
77 |
73 // Destructor |
78 // Destructor |
74 CWriteCurrentIACLAPCommand::~CWriteCurrentIACLAPCommand() |
79 CWriteCurrentIACLAPCommand::~CWriteCurrentIACLAPCommand() |
75 { |
80 { |