equal
deleted
inserted
replaced
20 |
20 |
21 #ifndef M_SEN_MOBILITY_OBSERVER_H |
21 #ifndef M_SEN_MOBILITY_OBSERVER_H |
22 #define M_SEN_MOBILITY_OBSERVER_H |
22 #define M_SEN_MOBILITY_OBSERVER_H |
23 |
23 |
24 // INCLUDES |
24 // INCLUDES |
|
25 #include <flogger.h> |
25 #include <e32std.h> |
26 #include <e32std.h> |
26 #include <in_sock.h> |
27 #include <in_sock.h> |
27 #include <es_enum.h> |
28 #include <es_enum.h> |
|
29 #include <CommDbConnPref.h> |
28 #include <comms-infras/cs_mobility_apiext.h> |
30 #include <comms-infras/cs_mobility_apiext.h> |
|
31 #include <connpref.h> |
29 #include "SenXmlReader.h" |
32 #include "SenXmlReader.h" |
30 #include "MSenTransport.h" |
33 #include "MSenTransport.h" |
31 #include "SenWSDescription.h" |
34 #include "SenWSDescription.h" |
32 |
35 |
33 class CALRObserver : public CActive, public MMobilityProtocolResp |
36 class CALRObserver : public CActive, public MMobilityProtocolResp |
71 |
74 |
72 //functions for Client session usage |
75 //functions for Client session usage |
73 TUint32 GetActiveIap() ; |
76 TUint32 GetActiveIap() ; |
74 HBufC8* GetNewIapAsTransportPropertyL() ; |
77 HBufC8* GetNewIapAsTransportPropertyL() ; |
75 TUint32 GetActiveSnap() ; |
78 TUint32 GetActiveSnap() ; |
|
79 void SetDialogPref(TBool aDialogPref) ; |
76 TInt OpenConnectionL(TDesC8& aAppTransportProperties, |
80 TInt OpenConnectionL(TDesC8& aAppTransportProperties, |
77 MSenTransport &aTransport, |
81 MSenTransport &aTransport, |
78 CSenWSDescription& aInitializer, |
82 CSenWSDescription& aInitializer, |
79 HBufC8*& aNewTransportProperties) ; |
83 HBufC8*& aNewTransportProperties) ; |
80 |
84 |
86 */ |
90 */ |
87 CALRObserver(MMobilityProtocolResp &aMobilityObserver, CSenXmlReader &aReader) ; |
91 CALRObserver(MMobilityProtocolResp &aMobilityObserver, CSenXmlReader &aReader) ; |
88 TInt StartConnection(TUint32& aId, TBool aIsSnapId) ; |
92 TInt StartConnection(TUint32& aId, TBool aIsSnapId) ; |
89 TInt OpenSocketSever() ; |
93 TInt OpenSocketSever() ; |
90 void RefreshAvailabilityL() ; |
94 void RefreshAvailabilityL() ; |
91 TInt SetID(TUint32 aId, TBool aDialogPref, RConnection& aConnection, RSocketServ& aSocketServer, TBool aSNAP); |
|
92 TBool IsOCCImplementedSDK(); |
|
93 TInt GetS60PlatformVersion(TUint& aMajor, TUint& aMinor); |
|
94 |
95 |
95 /** |
96 /** |
96 * By default Symbian OS constructor is private. |
97 * By default Symbian OS constructor is private. |
97 */ |
98 */ |
98 void ConstructL(); |
99 void ConstructL(); |
101 MMobilityProtocolResp &iMobilityObserver ; |
102 MMobilityProtocolResp &iMobilityObserver ; |
102 CActiveCommsMobilityApiExt* iMobility; |
103 CActiveCommsMobilityApiExt* iMobility; |
103 TUint32 iIapId; |
104 TUint32 iIapId; |
104 TUint32 iNewIapId; |
105 TUint32 iNewIapId; |
105 TUint32 iSnapId; |
106 TUint32 iSnapId; |
106 CSenXmlReader &iReader ; |
107 TCommDbConnPref iPrefs; |
107 TBool iOCCenabled; |
108 TConnSnapPref iSNAPPrefs; |
|
109 CSenXmlReader &iReader ; |
|
110 private: // Data |
108 }; |
111 }; |
109 |
112 |
110 #endif /*M_SEN_MOBILITY_OBSERVER_H */ |
113 #endif /*M_SEN_MOBILITY_OBSERVER_H */ |