epoc32/include/sipconnpref.h
branchSymbian2
changeset 2 2fe1408b6811
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // SIP extension events definition
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @publishedAll
       
    23  @released since v9.2
       
    24 */
       
    25 
       
    26 
       
    27 #ifndef SIPCONNPREFS_H
       
    28 #define SIPCONNPREFS_H
       
    29 	
       
    30 #include <connpref.h>
       
    31 #include <cdbcols.h>
       
    32 
       
    33 /** The numeric value of SIP protocol family ID .*/
       
    34 const TUint KAFSip = 0x10000; 
       
    35 
       
    36 
       
    37 struct SSipConnPref
       
    38 /** 
       
    39 This contains the information about the Id of the profile
       
    40 @publishedAll
       
    41 @released since v9.2 
       
    42 */
       
    43 	{
       
    44 	/** The numeric value of SIP Profile ID **/
       
    45 	TUint32 iProfileId;
       
    46 	};
       
    47 
       
    48 	
       
    49 class TSipConnPref : public TConnPref
       
    50 /** 
       
    51 This contains the information about the type of the connection preferences used by the SIP in the form of the profiles
       
    52 @publishedAll
       
    53 @released since v9.2 
       
    54 */
       
    55 	{
       
    56 public:
       
    57 	/** Constructor. */
       
    58 	TSipConnPref();
       
    59 	/** Sets the profile ID same as the prameter **/
       
    60 	inline void 	SetProfileId(TUint32 aProfileId);
       
    61 	/** Gets the default profile ID  **/
       
    62 	inline TUint32  GetProfileId() const;
       
    63 	/** cast to appropriate SIP connection provider type  **/
       
    64 	inline static TSipConnPref& TSipConnPref::Cast(const TConnPref& aPref);
       
    65 	
       
    66 protected:
       
    67 	inline SSipConnPref* PrefPtr() const;
       
    68 
       
    69 	};
       
    70 
       
    71 #include <sipconnpref.inl>
       
    72 
       
    73 #endif  // sipconnpref.h