diff -r 73a1feb507fb -r bc78a40cd63c mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h --- a/mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h Tue Aug 31 15:12:07 2010 +0300 +++ b/mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h Wed Sep 01 12:31:01 2010 +0100 @@ -13,6 +13,7 @@ * * Description: Mixin-class that provides functionality for manipulating * MuS specific settings. +* Version : %version: 6 % << Don't touch! Updated by Synergy at check-out. * */ @@ -20,13 +21,15 @@ #ifndef M_MMUSSIPPROFILEHANDLER_H #define M_MMUSSIPPROFILEHANDLER_H -#include +#include +#include + +class CSIPProfile; /** * MMusSIPProfileHandler class * Mixin class for SIP profile manipulation. * Handles SIP profile manipulations. -* @since S60 v3.2 */ class MMusSIPProfileHandler { @@ -38,17 +41,17 @@ * default SIP profile. */ virtual TInt DefaultProfileIndex() = 0; - + /** - * Returns pointer to the SIP profile array, does not change ownership. + * Returns a reference to the SIP profile array. * Note that previously returned value goes out of scope after a new * call to ProfileArrayL. So it is not advised to store return value * in long persistent variable, but rather to be used like stack * variables for safety. * - * @return Pointer to internally cached SIP profile array. + * @return Reference to internally cached SIP profile array. */ - virtual CArrayPtr* ProfileArrayL() = 0; + virtual RPointerArray& ProfileArrayL() = 0; /** * Returns the id of the default SIP profile. @@ -56,6 +59,12 @@ * default SIP profile. */ virtual TUint32 DefaultProfileId() = 0; + + /* + * + * + */ + virtual void DisableProfileL() = 0; /** * Returns profile id based on index.