diff -r 065f1826587f -r b31261fd4e04 mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h --- a/mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h Thu Jan 07 12:45:29 2010 +0200 +++ b/mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h Tue Feb 02 00:09:07 2010 +0200 @@ -13,7 +13,7 @@ * * Description: Mixin-class that provides functionality for manipulating * MuS specific settings. -* Version : %version: 4.1.3 % << Don't touch! Updated by Synergy at check-out. +* Version : %version: 6 % << Don't touch! Updated by Synergy at check-out. * */ @@ -21,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 { @@ -39,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.