1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-2009 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". |
28 #include <networking/bca2factory.h> |
28 #include <networking/bca2factory.h> |
29 #include "RawIP2Flow.h" |
29 #include "RawIP2Flow.h" |
30 |
30 |
31 using namespace BasebandChannelAdaptation2; |
31 using namespace BasebandChannelAdaptation2; |
32 |
32 |
|
33 class CBttLogger; |
33 |
34 |
34 void Panic(TRawIP2NifPanic aPanic); |
35 void Panic(TRawIP2NifPanic aPanic); |
35 typedef MBca2Factory* (*TNewBca2FactoryL)(); |
36 typedef MBca2Factory* (*TNewBca2FactoryL)(); |
36 |
37 |
37 /** class used to load, open and shutdown the BCA. |
38 /** class used to load, open and shutdown the BCA. |
38 @internalComponent |
39 @internalComponent |
39 */ |
40 */ |
40 class CBcaController : public CActive |
41 class CBcaController : public CActive |
41 { |
42 { |
42 public: |
43 public: |
43 CBcaController(CRawIP2Flow& aRawIPFlow); |
44 CBcaController(CRawIP2Flow& aRawIPFlow, CBttLogger* aTheLogger); |
44 ~CBcaController(); |
45 ~CBcaController(); |
45 |
46 |
46 static CBcaController* NewL(CRawIP2Flow& aRawIPFlow); |
47 static CBcaController* NewL(CRawIP2Flow& aRawIPFlow,CBttLogger* aTheLogger); |
47 void ConstructL(); |
48 void ConstructL(); |
48 public: |
49 public: |
49 void StartLoadL(const CBCAProvision* aBCAProvisionConfig,MUpperControl* aControl, |
50 void StartLoadL(const CBCAProvision* aBCAProvisionConfig,MUpperControl* aControl, |
50 MUpperDataReceiver* aData); |
51 MUpperDataReceiver* aData); |
51 void Stop(TInt aError); |
52 void Stop(TInt aError); |