telephonyserverplugins/simtsy/inc/CSimDataLine.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 12 Mar 2010 15:49:38 +0200
branchRCL_3
changeset 14 7ef16719d8cb
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
permissions -rw-r--r--
Revision: 201008 Kit: 201008

// Copyright (c) 2001-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:
//

#ifndef __CSIMDATALINE_H__
#define __CSIMDATALINE_H__

/**
 * @file
 * Declares the class CSimDataLine
 * @internalAll
 */

#include "CSimLine.h"

/**
 * CSimDataLine - Handles data specific line functionality
 *
 * Created and owned by the CSimPhone class.
 */

class CSimNtRas;
class CSimDataCall;
class CSimDataLine : public CSimLine
	{
public:
	static CSimDataLine* NewL(CSimPhone* aPhone,const TDesC& aName);
	CSimDataLine(CSimPhone* aPhone);
	~CSimDataLine();

// MTelObjectTSY pure virtuals
	virtual CTelObject* OpenNewObjectByNameL(const TDesC& aName);
	virtual CTelObject* OpenNewObjectL(TDes& aNewName);

// MLineBaseTSY pure virtuals
	virtual TInt EnumerateCall(const TTsyReqHandle aTsyReqHandle,TInt* aCount);
    virtual TInt GetCallInfo(const TTsyReqHandle,TCallInfoIndex*);
// MSubSessionExtBaseTSY
	virtual TInt ExtFunc(const TTsyReqHandle aTsyReqHandle,const TInt aIpc,const TDataPackage& aPackage);
// CLineBase
	virtual TInt CancelService(const TInt aIpc,const TTsyReqHandle aTsyReqHandle);

	virtual CSimCall* CreateNewCallL(TDes& aNewName,TCallType aCallType);
	virtual TUint Caps();
	virtual TInt FindActiveCall(CSimCall*& aCall);

protected:
	void ConstructL(const TName& aName);
	};

#endif