bluetooth/btcomm/src/responder.cpp
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2005-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 // Responder.cpp - all the active responder code
       
    15 // 
       
    16 //
       
    17 
       
    18 #include <cs_port.h>
       
    19 #include "btcomm.h"
       
    20 
       
    21 #ifdef __GUFF__
       
    22 
       
    23 CBtConnectResponder *CBtConnectResponder::NewL(CBTPort *aParent)
       
    24 	{
       
    25 	CBtConnectResponder *cr;
       
    26 	cr=new (ELeave) CBtConnectResponder();
       
    27 	CleanupStack::PushL(cr);
       
    28 	cr->InitL(aParent);
       
    29 	CleanupStack::Pop();
       
    30 	return cr;
       
    31 	}
       
    32 
       
    33 void CBtConnectResponder::InitL(CBTPort *aParent)
       
    34 	{
       
    35 	iPort=aParent;
       
    36 	}
       
    37 
       
    38 CBtConnectResponder::~CBtConnectResponder()
       
    39 	{
       
    40 	}
       
    41 
       
    42 void CBtConnectResponder::RunL()
       
    43 // active status cleared.
       
    44 	{
       
    45 	}
       
    46 
       
    47 void CBtConnectResponder::WaitForConnect()
       
    48 	{
       
    49 	// wait on something using iStatus
       
    50 	SetActive();
       
    51 	}
       
    52 
       
    53 void CBtConnectResponder::DoCancel()
       
    54 	{
       
    55 	}
       
    56 
       
    57 CBtConnectResponder::CBtConnectResponder() 
       
    58 	: CActive(EPriorityStandard)
       
    59 // private c'tor
       
    60 	{
       
    61 	}
       
    62 
       
    63 #endif