bthci/hci2implementations/CommandsEvents/symbian/src/commandbaseextension.cpp
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     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 //
       
    15 
       
    16 #include <bluetooth/hci/commandbaseextension.h>
       
    17 
       
    18 
       
    19 /**
       
    20 Return a newly constucted CHCICommandBaseExtension
       
    21 */
       
    22 CHCICommandBaseExtension* CHCICommandBaseExtension::NewL()
       
    23 	{
       
    24 	CHCICommandBaseExtension* self = new(ELeave) CHCICommandBaseExtension();
       
    25 	return(self);
       
    26 	}
       
    27 
       
    28 
       
    29 /**
       
    30 Do nothing
       
    31 */
       
    32 CHCICommandBaseExtension::CHCICommandBaseExtension()
       
    33 	{
       
    34 	}
       
    35 
       
    36 
       
    37 /**
       
    38 Clean up
       
    39 */
       
    40 CHCICommandBaseExtension::~CHCICommandBaseExtension()
       
    41 	{
       
    42 	delete iCompletingEventQueryHelper;
       
    43 	}
       
    44 
       
    45 
       
    46 /**
       
    47 Return CHCICompletingEventQueryHelper
       
    48 */
       
    49 CHCICompletingEventQueryHelper* CHCICommandBaseExtension::CompletingEventQueryHelper()
       
    50 	{
       
    51 	return iCompletingEventQueryHelper;
       
    52 	}
       
    53 
       
    54 
       
    55 /**
       
    56 Method to allow control of the iExpectCompletingEvent
       
    57 */
       
    58 void CHCICommandBaseExtension::SetCompletingEventQueryHelper(CHCICompletingEventQueryHelper* aCompletingEventQueryHelper)
       
    59 	{
       
    60 	delete iCompletingEventQueryHelper;
       
    61 	iCompletingEventQueryHelper = aCompletingEventQueryHelper;
       
    62 	}
       
    63 	
       
    64 	
       
    65