# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1264503828 -7200 # Node ID 150a13bad6af7ca61e2bdb027c33994c04abec70 # Parent 272b002df977242a8541b0080b213f01b349117c Revision: 201001 Kit: 201004 diff -r 272b002df977 -r 150a13bad6af webservices/wscore/inc/senmobilityobserver.h --- a/webservices/wscore/inc/senmobilityobserver.h Mon Jan 18 21:21:14 2010 +0200 +++ b/webservices/wscore/inc/senmobilityobserver.h Tue Jan 26 13:03:48 2010 +0200 @@ -22,13 +22,10 @@ #define M_SEN_MOBILITY_OBSERVER_H // INCLUDES -#include #include #include #include -#include #include -#include #include "SenXmlReader.h" #include "MSenTransport.h" #include "SenWSDescription.h" @@ -76,7 +73,6 @@ TUint32 GetActiveIap() ; HBufC8* GetNewIapAsTransportPropertyL() ; TUint32 GetActiveSnap() ; - void SetDialogPref(TBool aDialogPref) ; TInt OpenConnectionL(TDesC8& aAppTransportProperties, MSenTransport &aTransport, CSenWSDescription& aInitializer, @@ -104,8 +100,6 @@ TUint32 iIapId; TUint32 iNewIapId; TUint32 iSnapId; - TCommDbConnPref iPrefs; - TConnSnapPref iSNAPPrefs; CSenXmlReader &iReader ; private: // Data }; diff -r 272b002df977 -r 150a13bad6af webservices/wscore/src/senmobilityobserver.cpp --- a/webservices/wscore/src/senmobilityobserver.cpp Mon Jan 18 21:21:14 2010 +0200 +++ b/webservices/wscore/src/senmobilityobserver.cpp Tue Jan 26 13:03:48 2010 +0200 @@ -18,14 +18,15 @@ // INCLUDE FILES - +#include +#include #include "senmobilityobserver.h" -#include -#include "SenWSPattern.h" -#include "MSenProperties.h" -#include "SenLayeredTransportProperties.h" -#include "SenLogger.h" -#include "SenServiceManagerDefines.h" +#include "sentransportproperties.h" +#include "senwspattern.h" +#include "msenproperties.h" +#include "senlayeredtransportproperties.h" +#include "senlogger.h" +#include "senservicemanagerdefines.h" // ----------------------------------------------------------------------------- // CALRObserver::NewL @@ -534,20 +535,24 @@ { if(aIsSnapId != EFalse && aId) { + TConnSnapPref SNAPPrefs; iSnapId = aId ; - iSNAPPrefs.SetSnap( aId ); + SNAPPrefs.SetSnap( aId ); // Start connecting with Snap - errRet = iConnection.Start(iSNAPPrefs); + errRet = iConnection.Start(SNAPPrefs); TLSLOG_L(KSenSenMobilityLogChannelBase, KSenSenMobilityLogLevel , "- CALRObserver::StartConnection iConnection Started with SNAP"); } else //default is iap { if( aId ) { - iPrefs.SetIapId( aId ); - SetDialogPref(EFalse) ; + TCommDbConnPref iapPrefs ; + iapPrefs.SetIapId( aId ); + iapPrefs.SetDialogPreference( ECommDbDialogPrefDoNotPrompt ); + TLSLOG_L(KSenSenMobilityLogChannelBase, KSenSenMobilityLogLevel , "- CALRObserver::SetDialogPref is FALSE"); + //iapPrefs.SetDialogPreference( ECommDbDialogPrefPrompt ); // Start connecting with IAP - errRet = iConnection.Start(iPrefs); + errRet = iConnection.Start(iapPrefs); TLSLOG_FORMAT((KSenSenMobilityLogChannelBase, KSenSenMobilityLogLevel , _L8("- CALRObserver::StartConnection connection started with iapid %d and preference"), aId)); } else @@ -586,20 +591,6 @@ return errRet; } -void CALRObserver::SetDialogPref(TBool aDialogPref) - { - if (aDialogPref == EFalse) - { - TLSLOG_L(KSenSenMobilityLogChannelBase, KSenSenMobilityLogLevel , "- CALRObserver::SetDialogPref is FALSE"); - iPrefs.SetDialogPreference( ECommDbDialogPrefDoNotPrompt ); - } - else - { - TLSLOG_L(KSenSenMobilityLogChannelBase, KSenSenMobilityLogLevel ,"- CALRObserver::SetDialogPref is TRUE"); - iPrefs.SetDialogPreference( ECommDbDialogPrefPrompt ); - } - } - // ----------------------------------------------------------------------------- // CALRObserver::RefreshAvailability // ----------------------------------------------------------------------------- diff -r 272b002df977 -r 150a13bad6af webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp --- a/webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp Mon Jan 18 21:21:14 2010 +0200 +++ b/webservices/wshttpchanneltransportplugin/src/senhttpchannelimpl.cpp Tue Jan 26 13:03:48 2010 +0200 @@ -31,10 +31,10 @@ #include #include "sendebug.h" // filelogging and debugging MACROS -#include // KErrSenNoHttpResponseBody -#include -#include -#include +#include "senserviceconnection.h" // KErrSenNoHttpResponseBody +#include "senelement.h" +#include "senxmlutils.h" +#include "senhttptransportproperties.h" #include "senhttpchannelimpl.h" #include "senhttpeventhandler.h" #include "sentxnstate.h" @@ -47,10 +47,10 @@ #include "senhttpchanneltransportplugin.h" //For HTTPProxyFilter -#include -#include -#include -#include +#include +#include +#include +#include // CONSTANTS namespace diff -r 272b002df977 -r 150a13bad6af webservices/wshttpchanneltransportplugin/src/senhttpchanneltransportplugin.cpp --- a/webservices/wshttpchanneltransportplugin/src/senhttpchanneltransportplugin.cpp Mon Jan 18 21:21:14 2010 +0200 +++ b/webservices/wshttpchanneltransportplugin/src/senhttpchanneltransportplugin.cpp Tue Jan 26 13:03:48 2010 +0200 @@ -26,25 +26,25 @@ // INCLUDE FILES -#include +#include "senserviceconnection.h" #include "senhttpchanneltransportplugin.h" #include "senhttpchannelimpl.h" #include "senhttpsyncrequester.h" -#include "SenXmlUtils.h" -#include "SenIdentityProvider.h" +#include "senxmlutils.h" +#include "senidentityprovider.h" #include "senwspattern.h" -#include "SenFragment.h" -#include "SenElement.h" +#include "senfragment.h" +#include "senelement.h" #include "sendebug.h" -#include "MSenProperty.h" -#include "SenHttpTransportProperties.h" // Utils\inc +#include "msenproperty.h" +#include "senhttptransportproperties.h" // Utils\inc #include "sentransportcontext.h" #include "senlayeredhttptransportproperties.h" // internal Framework\inc #include "msenmessagecontext.h" -#include "MSenMessage.h" -#include "SenSoapMessage2.h" -#include "RSenDocument.h" -#include "SenParser.h" +#include "msenmessage.h" +#include "sensoapmessage2.h" +#include "rsendocument.h" +#include "senparser.h" #include "senservicesession.h" #include "senlogger.h" #include "senclientsession.h"