epoc32/include/sipconnpref.inl
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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 */
    24 
    25 
    26 inline TSipConnPref::TSipConnPref() 
    27 	: TConnPref(TConnPref::EConnPrefSip)
    28 	{
    29 	SetProfileId(0);
    30 	}
    31 
    32 inline void TSipConnPref::SetProfileId(TUint32 aProfileId)
    33 	{
    34 	PrefPtr()->iProfileId = aProfileId;
    35 	}
    36 	
    37 inline TUint32 TSipConnPref::GetProfileId() const
    38 	{
    39 	return PrefPtr()->iProfileId;
    40 	}
    41 	
    42 inline TSipConnPref& TSipConnPref::Cast(const TConnPref& aPref)
    43 	{
    44 	return (TSipConnPref&)aPref;
    45 	}
    46 
    47 inline SSipConnPref* TSipConnPref::PrefPtr() const
    48 	{
    49 	return (SSipConnPref*)UserPtr();
    50 	}
    51