inc/mussipprofileutils.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     1 /*
       
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  This interface is used by
       
    15 *                clients to get and availability setting for Video Charging
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __MUSSIPPROFILEUTILS_H__
       
    21 #define __MUSSIPPROFILEUTILS_H__
       
    22 
       
    23 //  INCLUDES
       
    24 #include "mussipprofileregistryobserver.h"
       
    25 #include "mussipobserver.h"
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 class CSIPManagedProfile;
       
    30 class MDesC8Array;
       
    31 class CDesC8ArrayFlat;
       
    32 
       
    33 /**
       
    34  *  Defines setting interface for the MusAvailability Plug-in
       
    35  *
       
    36  *  ECOM clients set and get setting are used by MusAvailability Plug-in.
       
    37  *
       
    38  *  @lib musavailabilityplugin.lib
       
    39  */
       
    40 
       
    41 class MusSipProfileUtils : public MMusSipProfileRegistryObserver,
       
    42                            public MMusSipObserver
       
    43 	{
       
    44 public:
       
    45     	
       
    46     inline static void InsertContactHeaderL( TInt aSipProfileId );
       
    47     
       
    48     inline static void RemoveContactHeaderL( TInt aSipProfileId );
       
    49 
       
    50 private:
       
    51     
       
    52     inline static void AddFeatureTagL( CSIPManagedProfile& aProfile );
       
    53     
       
    54     inline static void RemoveFeatureTagL( CSIPManagedProfile& aProfile );
       
    55 
       
    56     inline static CDesC8ArrayFlat* AddVsTagLC( const MDesC8Array& aArray );
       
    57 
       
    58     inline static CDesC8ArrayFlat* RemoveVsTagLC( const MDesC8Array& aArray, TInt aIndex );
       
    59     
       
    60     inline static TInt VsTagIndex( const MDesC8Array& aArray );
       
    61     
       
    62     inline MusSipProfileUtils();
       
    63 
       
    64     inline ~MusSipProfileUtils();
       
    65 
       
    66 	};
       
    67 
       
    68 #include "mussipprofileutils.inl"
       
    69 
       
    70 #endif // __MUSSIPPROFILEUTILS_H__
       
    71