diff -r de84881f4ac3 -r 52d91a16fec3 presencesettingsui/inc/psuigspluginmodel.h --- a/presencesettingsui/inc/psuigspluginmodel.h Tue Apr 27 17:03:39 2010 +0300 +++ b/presencesettingsui/inc/psuigspluginmodel.h Tue May 11 16:35:18 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -217,6 +217,14 @@ */ HBufC* SipProfileNameL( TInt aId ); + /** + * Checks if SIP profile used by presence settings is in use + * + * @param aIndex is the index in the array + * @return ETrue if profile is registered + */ + TBool IsSipProfileRegisteredL( TInt aIndex ); + // // // XDM related @@ -280,8 +288,16 @@ * Re-arranges presence settings (name and id arrays) * to alphabetical order. */ - void ReArrangePresenceSettingsL(); - + void ReArrangePresenceSettingsL(); + + /** + * Cleans links to specific presence settings for + * service provider settings. + * + * @param aPresenceId presence settings id. + */ + void CleanServiceProviderSettingsDataL( TInt aPresenceId ); + private: // Functions from base classes /**