|
1 // Copyright (c) 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 /** |
|
17 @file |
|
18 @internalTechnology |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef __SS_MOBILITY_APIEXT_INTERNAL_H__ |
|
23 #define __SS_MOBILITY_APIEXT_INTERNAL_H__ |
|
24 |
|
25 #include <comms-infras/ss_mobility_apiext.h> |
|
26 |
|
27 namespace ESock |
|
28 { |
|
29 |
|
30 class TMobilitySubscriptionMsg; |
|
31 class CCommsMobilityApiExtRespMsg; |
|
32 |
|
33 class CCommsMobilitySrvIpcResponder : public CCommsMobilitySrvResp |
|
34 /** |
|
35 @internalTechnology |
|
36 */ |
|
37 { |
|
38 public: |
|
39 friend class ESock::TMobilitySubscriptionMsg; //the subscription message constructs CCommsMobilitySrvResp |
|
40 |
|
41 public: |
|
42 IMPORT_C virtual void DoPreferredCarrierAvailable(TAccessPointInfo aOldAP, TAccessPointInfo aNewAP, TBool aIsUpgrade, TBool aIsSeamless); |
|
43 IMPORT_C virtual void DoNewCarrierActive(TAccessPointInfo aNewAP, TBool aIsSeamless); |
|
44 virtual void DoComplete(TInt aError); |
|
45 |
|
46 private: |
|
47 IMPORT_C static CCommsMobilitySrvIpcResponder* NewL(Elements::RResponseMsg& aResponseMsg); |
|
48 explicit CCommsMobilitySrvIpcResponder(Elements::RResponseMsg& aResponseMsg); |
|
49 virtual ~CCommsMobilitySrvIpcResponder(); |
|
50 |
|
51 private: |
|
52 ESock::CCommsMobilityApiExtRespMsg* iMsg; |
|
53 Elements::RResponseMsg iResponseMsg; |
|
54 }; |
|
55 |
|
56 } // namespace ESock |
|
57 |
|
58 #endif // __SS_MOBILITY_APIEXT_INTERNAL_H__ |
|
59 |