equal
deleted
inserted
replaced
22 |
22 |
23 // Connect using mobility extension |
23 // Connect using mobility extension |
24 #include <in_sock.h> |
24 #include <in_sock.h> |
25 #include <connpref.h> |
25 #include <connpref.h> |
26 #include <commdbconnpref.h> |
26 #include <commdbconnpref.h> |
27 #include <comms-infras/cs_mobility_apiext.h> |
27 //#include <comms-infras/cs_mobility_apiext.h> |
28 |
28 |
29 // Using connection manager settings UI |
29 // Using connection manager settings UI |
30 #include <cmapplicationsettingsui.h> |
30 //#include <cmapplicationsettingsui.h> |
31 class CPodcastModel; |
31 class CPodcastModel; |
32 |
32 |
33 class MConnectionObserver |
33 class MConnectionObserver |
34 { |
34 { |
35 public: |
35 public: |
41 |
41 |
42 /** |
42 /** |
43 * This class helps to connect using three available methods |
43 * This class helps to connect using three available methods |
44 * SNAP, Mobility extension and Connection manager UI |
44 * SNAP, Mobility extension and Connection manager UI |
45 */ |
45 */ |
46 class CConnectionEngine:public CActive, public MMobilityProtocolResp |
46 class CConnectionEngine:public CActive |
47 { |
47 { |
48 public: |
48 public: |
49 enum TConnectionType |
49 enum TConnectionType |
50 { |
50 { |
51 EUserSelectConnection, |
51 EUserSelectConnection, |
96 void ReportConnectionSelectionEnd(); |
96 void ReportConnectionSelectionEnd(); |
97 |
97 |
98 private: |
98 private: |
99 RConnection iConnection; |
99 RConnection iConnection; |
100 RSocketServ iSocketServer; |
100 RSocketServ iSocketServer; |
101 // Connect using mobility extension |
|
102 CActiveCommsMobilityApiExt* iMobility; |
|
103 |
|
104 // Using connection manager settings UI |
|
105 TCmSettingSelection iUserSelection; |
|
106 |
101 |
107 // Connect using Commdb |
102 // Connect using Commdb |
108 TCommDbConnPref iCommdbPreference; |
103 TCommDbConnPref iCommdbPreference; |
109 |
104 |
110 // Connect using SNAP setting |
105 // Connect using SNAP setting |