bthci/hci2implementations/CommandsEvents/symbian/src/hostnumberofcompletedpacketscommand.cpp
--- a/bthci/hci2implementations/CommandsEvents/symbian/src/hostnumberofcompletedpacketscommand.cpp Mon May 03 13:34:38 2010 +0300
+++ b/bthci/hci2implementations/CommandsEvents/symbian/src/hostnumberofcompletedpacketscommand.cpp Fri May 14 16:59:23 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -12,7 +12,7 @@
//
// Description:
// This file was generated automatically from the template commandsource.tmpl
-// on Thu, 29 May 2008 15:17:49 (time stamp)
+// on Wed, 07 Apr 2010 11:59:26 (time stamp)
//
//
@@ -38,9 +38,9 @@
EXPORT_C CHostNumberOfCompletedPacketsCommand* CHostNumberOfCompletedPacketsCommand::NewL(TUint8 aNumberOfHandles, const RArray< THCIConnectionHandle >& aConnectionHandle, const RArray< THCINumOfCompletedPackets >& aHostNumOfCompletedPackets)
{
- CHostNumberOfCompletedPacketsCommand* self = new (ELeave) CHostNumberOfCompletedPacketsCommand(aNumberOfHandles, aConnectionHandle, aHostNumOfCompletedPackets);
+ CHostNumberOfCompletedPacketsCommand* self = new (ELeave) CHostNumberOfCompletedPacketsCommand(aNumberOfHandles);
CleanupStack::PushL(self);
- self->CHCICommandBase::BaseConstructL();
+ self->ConstructL(aConnectionHandle, aHostNumOfCompletedPackets);
CleanupStack::Pop(self);
return self;
}
@@ -56,11 +56,9 @@
// Constructors
-CHostNumberOfCompletedPacketsCommand::CHostNumberOfCompletedPacketsCommand(TUint8 aNumberOfHandles, const RArray< THCIConnectionHandle >& aConnectionHandle, const RArray< THCINumOfCompletedPackets >& aHostNumOfCompletedPackets)
+CHostNumberOfCompletedPacketsCommand::CHostNumberOfCompletedPacketsCommand(TUint8 aNumberOfHandles)
: CHCICommandBase(KHostNumberOfCompletedPacketsOpcode)
, iNumberOfHandles(aNumberOfHandles)
- , iConnectionHandle(aConnectionHandle)
- , iHostNumOfCompletedPackets(aHostNumOfCompletedPackets)
{
SetCreditsConsumed(0);
SetExpectsCommandStatusEvent(EFalse);
@@ -75,6 +73,13 @@
SetExpectsCommandCompleteEvent(EFalse);
}
+void CHostNumberOfCompletedPacketsCommand::ConstructL(const RArray< THCIConnectionHandle >& aConnectionHandle, const RArray< THCINumOfCompletedPackets >& aHostNumOfCompletedPackets)
+ {
+ CHCICommandBase::BaseConstructL();
+ iConnectionHandle = aConnectionHandle;
+ iHostNumOfCompletedPackets = aHostNumOfCompletedPackets;
+ }
+
// Destructor
CHostNumberOfCompletedPacketsCommand::~CHostNumberOfCompletedPacketsCommand()
{