diff -r d189ee25cf9d -r 3533d4323edc ipsservices/ipssosaoplugin/inc/IpsSosAOMboxLogic.h --- a/ipsservices/ipssosaoplugin/inc/IpsSosAOMboxLogic.h Tue Aug 31 15:04:17 2010 +0300 +++ b/ipsservices/ipssosaoplugin/inc/IpsSosAOMboxLogic.h Wed Sep 01 12:28:57 2010 +0100 @@ -15,39 +15,38 @@ * Contains mailbox specified always online logic * */ -// -#ifndef IPSSOSAOMBOXLOGIC_H -#define IPSSOSAOMBOXLOGIC_H -// + +#ifndef IPSSOSAOMBOXLOGIC_CPP_ +#define IPSSOSAOMBOXLOGIC_CPP_ + #include #include +// removing internal dependency +/*#ifdef _DEBUG +#include "../../internal/IpsSosAOPluginTester/inc/IpsSosAOPluginTester.hrh" +#endif // _DEBUG*/ +// #include "IpsSosAOBaseAgent.h" -// - -// +#include "ipssetdataextension.h" #include "IpsSosAOPluginTimer.h" +// +// -// - -// +class CIpsSetDataApi; class CIpsSosAOBaseAgent; -// - -// +class CIpsSetDataExtension; class CIpsSosAOImapPopLogic; /** * class CIpsSosAOImapPopLogic; * */ -// -NONSHARABLE_CLASS (CIpsSosAOMBoxLogic) : -// +class CIpsSosAOMBoxLogic : public CBase, - public MIpsSosAOPluginTimerCallBack, - public MIpsSosAOAgentOperationResponse + public MIpsSosAOPluginTimerCallBack, + public MIpsSosAOAgentOperationResponse { public: @@ -183,14 +182,18 @@ * mailbox settings * @param aNewValue new value of flag */ + // void SetEmnReceivedFlagL( TBool aNewValue ); + // /* * Gets mailbox roaming stopped status * @return ETrue if roaming and mailbox logic is stopped during roaming */ + // TBool IsMailboxRoamingStoppedL(); - + // + /** * Has mailbox ever received and OMA EMN */ @@ -256,7 +259,9 @@ /* * checks is operation completion error fatal and should timed sync swithc off */ + // TBool IsErrorFatalL( TInt aError ); + // /* * Suspends ongoing sync (or fetch) and swiths logic to suspend state @@ -294,6 +299,11 @@ */ TBool CanConnectIfRoamingL(); +// removing flags +/*#ifdef IPSSOSIMAPPOLOGGING_ON + void WriteDebugData( TInt aEvent ); +#endif*/ +// private: @@ -302,19 +312,13 @@ TMBoxLogicState iState; TInt iErrorCounter; TInt iError; - // - CIpsSosAOPluginTimer* iTimer;//owned + CIpsSosAOPluginTimer* iTimer; // message fetch is not currently used - RArray iFetchMsgArray;//owned - // - - // - CIpsSosAOBaseAgent* iAgent;//owned - // - // - - // + RArray iFetchMsgArray; + CIpsSetDataApi* iDataApi; + CIpsSosAOBaseAgent* iAgent; + CIpsSetDataExtension* iExtendedSettings; TBool iIsRoaming; }; -#endif /*IPSSOSAOMBOXLOGIC_H*/ +#endif /*IPSSOSAOMBOXLOGIC_CPP_*/