|
1 // Copyright (c) 2007-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 #ifndef __SAAEMERGENCYCALLRFADAPTATION_H__ |
|
17 #define __SAAEMERGENCYCALLRFADAPTATION_H__ |
|
18 |
|
19 #include <ssm/ssmadaptation.h> |
|
20 #include "adaptationbase.h" |
|
21 |
|
22 class CStartupAdaptationAdapter; |
|
23 |
|
24 /* |
|
25 * Provides a concrete class to provide the appropriate adaptation interface |
|
26 * |
|
27 * @internalComponent |
|
28 */ |
|
29 NONSHARABLE_CLASS(CSaaEmergencyCallRfAdaptation) : public CAdaptationBase, public MEmergencyCallRfAdaptation |
|
30 { |
|
31 public: |
|
32 static CSaaEmergencyCallRfAdaptation* NewL(CStartupAdaptationAdapter* aAdapter); |
|
33 ~CSaaEmergencyCallRfAdaptation(); |
|
34 |
|
35 public: |
|
36 //from MEmergencyCallRfAdaptation |
|
37 virtual void Release(); |
|
38 |
|
39 virtual void ActivateRfForEmergencyCall(TRequestStatus& aStatus); |
|
40 virtual void DeactivateRfForEmergencyCall(TRequestStatus& aStatus); |
|
41 |
|
42 virtual void Cancel(); |
|
43 |
|
44 //from CAdaptationBase |
|
45 virtual void RequestComplete(const StartupAdaptation::TCommand aCommandId, TDesC8& aRetPckg); |
|
46 virtual TDesC8* ParameterPckg(); |
|
47 |
|
48 private: |
|
49 CSaaEmergencyCallRfAdaptation(CStartupAdaptationAdapter* aAdapter); |
|
50 |
|
51 private: |
|
52 TBuf8<1> iNullBuf; |
|
53 }; |
|
54 |
|
55 #endif // __SAAEMERGENCYCALLRFADAPTATION_H__ |