mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h
branchRCL_3
changeset 22 73a1feb507fb
parent 2 b31261fd4e04
child 23 bc78a40cd63c
--- a/mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h	Thu Aug 19 09:51:39 2010 +0300
+++ b/mmshplugins/mmshsettingsuiplugin/inc/mmussipprofilehandler.h	Tue Aug 31 15:12:07 2010 +0300
@@ -13,7 +13,6 @@
 *
 * Description:  Mixin-class that provides functionality for manipulating
 *                MuS specific settings.
-*  Version     : %version: 6 % << Don't touch! Updated by Synergy at check-out.
 *
 */
 
@@ -21,15 +20,13 @@
 #ifndef M_MMUSSIPPROFILEHANDLER_H
 #define M_MMUSSIPPROFILEHANDLER_H
 
-#include <e32def.h>
-#include <e32cmn.h>
-
-class CSIPProfile;
+#include <sipmanagedprofile.h>
 
 /**
 *  MMusSIPProfileHandler class
 *  Mixin class for SIP profile manipulation.
 *  Handles SIP profile manipulations.
+*  @since S60 v3.2
 */
 class MMusSIPProfileHandler
     {
@@ -41,17 +38,17 @@
      *         default SIP profile.
      */
     virtual TInt DefaultProfileIndex() = 0;
-    
+
     /**
-     * Returns a reference to the SIP profile array.
+     * Returns pointer to the SIP profile array, does not change ownership.
      * 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 Reference to internally cached SIP profile array.
+     * @return Pointer to internally cached SIP profile array.
      */
-    virtual RPointerArray<CSIPProfile>& ProfileArrayL() = 0;
+    virtual CArrayPtr<CSIPManagedProfile>* ProfileArrayL() = 0;
 
     /**
      * Returns the id of the default SIP profile.
@@ -59,12 +56,6 @@
      *         default SIP profile.
      */
     virtual TUint32 DefaultProfileId() = 0;
-    
-    /*
-     * 
-     * 
-     */
-    virtual void DisableProfileL() = 0;
 
     /**
      * Returns profile id based on index.