simpledatamodeladapter/src/presencepluginsession.cpp
changeset 12 e6a66db4e9d0
parent 0 c8caa15ef882
equal deleted inserted replaced
0:c8caa15ef882 12:e6a66db4e9d0
    79     DP_SDA2("PluginSession::ConstructL iPresSettingId %d",iPresSettingId );
    79     DP_SDA2("PluginSession::ConstructL iPresSettingId %d",iPresSettingId );
    80     __ASSERT_ALWAYS( iPresSettingId > 0, User::Leave( KErrArgument ) );
    80     __ASSERT_ALWAYS( iPresSettingId > 0, User::Leave( KErrArgument ) );
    81     iServiceId = aService.IapId();
    81     iServiceId = aService.IapId();
    82     
    82     
    83     //Create connection
    83     //Create connection
    84     iConnection = TSimpleFactory::NewConnectionL( *this, aService.IapId() );
    84     iConnection = TSimpleFactory::NewConnectionL( *this );
    85     
    85     
    86     //Check here is xdm settings ok
    86     //Check here is xdm settings ok
    87     CheckXDMSettingsL( aService.IapId() );
    87     CheckXDMSettingsL( aService.IapId() );
    88     
    88     
    89     DP_SDA("CPresencePluginSession::ConstructL end");
    89     DP_SDA("CPresencePluginSession::ConstructL end");
   444     {
   444     {
   445     return iServiceId;
   445     return iServiceId;
   446     }
   446     }
   447 
   447 
   448 // ---------------------------------------------------------------------------
   448 // ---------------------------------------------------------------------------
   449 // CPresencePluginSession::DoCancel()
   449 // CPresencePluginPublisher::DoCancel()
   450 // ---------------------------------------------------------------------------
   450 // ---------------------------------------------------------------------------
   451 //
   451 //
   452 void CPresencePluginSession::DoCancel(  )
   452 void CPresencePluginSession::DoCancel(  )
   453     {
   453     {
   454     DP_SDA("CPresencePluginSession::DoCancel CANCEL");
   454     DP_SDA("CPresencePluginSession::DoCancel CANCEL");
   488 // CPresencePluginSession::RunError
   488 // CPresencePluginSession::RunError
   489 // ---------------------------------------------------------------------------
   489 // ---------------------------------------------------------------------------
   490 //
   490 //
   491 TInt CPresencePluginSession::RunError( TInt /*aError*/ )
   491 TInt CPresencePluginSession::RunError( TInt /*aError*/ )
   492     {
   492     {
   493     DP_SDA("CPresencePluginSession::RunError"); 
   493     DP_SDA("CPresencePluginPublisher::RunError"); 
   494     return KErrNone;
   494     return KErrNone;
   495     }
   495     }
   496 
   496 
   497  // End of file
   497  // End of file
   498  
   498