simpledatamodeladapter/src/presencepluginpublisher.cpp
branchRCL_3
changeset 18 52d91a16fec3
parent 7 895b8e06c769
equal deleted inserted replaced
14:de84881f4ac3 18:52d91a16fec3
     1 /*
     1 /*
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   121         {
   121         {
   122         iWatcher->Close();
   122         iWatcher->Close();
   123         }
   123         }
   124          
   124          
   125     DeleteWatchers();
   125     DeleteWatchers();
       
   126     iClientStatus = NULL;
   126     }
   127     }
   127 
   128 
   128 // ---------------------------------------------------------------------------
   129 // ---------------------------------------------------------------------------
   129 // CPresencePluginPublisher::DeleteWatchers
   130 // CPresencePluginPublisher::DeleteWatchers
   130 // ---------------------------------------------------------------------------
   131 // ---------------------------------------------------------------------------
   573 void CPresencePluginPublisher::DoCancel(  )
   574 void CPresencePluginPublisher::DoCancel(  )
   574     {
   575     {
   575     DP_SDA("CPresencePluginPublisher::DoCancel CANCEL");
   576     DP_SDA("CPresencePluginPublisher::DoCancel CANCEL");
   576     iXdmUtils->Cancel();
   577     iXdmUtils->Cancel();
   577     iPublisher->Close();
   578     iPublisher->Close();
       
   579     iPublisher = NULL;
   578     }
   580     }
   579 
   581 
   580 // ---------------------------------------------------------------------------
   582 // ---------------------------------------------------------------------------
   581 // CPresencePluginPublisher::RunL()
   583 // CPresencePluginPublisher::RunL()
   582 // ---------------------------------------------------------------------------
   584 // ---------------------------------------------------------------------------