sipproviderplugins/sipprovider/sipconnectionplugins/inc/sipconnpref.h
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:27:36 +0100
branchRCL_3
changeset 44 0dcb073356a5
parent 43 b5e99d8877c7
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// SIP extension events definition
// 
//

/**
 @file
 @publishedAll
 @released since v9.2
*/


#ifndef SIPCONNPREFS_H
#define SIPCONNPREFS_H
	
#include <connpref.h>
#include <cdbcols.h>

/** The numeric value of SIP protocol family ID .*/
const TUint KAFSip = 0x10000; 


struct SSipConnPref
/** 
This contains the information about the Id of the profile
@publishedAll
@released since v9.2 
*/
	{
	/** The numeric value of SIP Profile ID **/
	TUint32 iProfileId;
	};

	
class TSipConnPref : public TConnPref
/** 
This contains the information about the type of the connection preferences used by the SIP in the form of the profiles
@publishedAll
@released since v9.2 
*/
	{
public:
	/** Constructor. */
	TSipConnPref();
	/** Sets the profile ID same as the prameter **/
	inline void 	SetProfileId(TUint32 aProfileId);
	/** Gets the default profile ID  **/
	inline TUint32  GetProfileId() const;
	/** cast to appropriate SIP connection provider type  **/
	inline static TSipConnPref& TSipConnPref::Cast(const TConnPref& aPref);
	
protected:
	inline SSipConnPref* PrefPtr() const;

	};

#include "sipconnpref.inl"

#endif  // sipconnpref.h