telephonyserverplugins/simtsy/inc/CSimVoiceLine.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2001-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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CSIMVOICELINE_H__
       
    17 #define __CSIMVOICELINE_H__
       
    18 
       
    19 /**
       
    20  * @file
       
    21  * Declares the class CSimVoiceLine
       
    22  * @internalAll
       
    23  */
       
    24 
       
    25 #include "CSimLine.h"
       
    26 
       
    27 /**
       
    28  * CSimVoiceLine - Handles voice specific line functionality
       
    29  *
       
    30  * Created and owned by the CSimPhone class.
       
    31  */
       
    32 class CSimVoiceCall;
       
    33 class CSimVoiceLine : public CSimLine
       
    34 	{
       
    35 public:
       
    36 	static CSimVoiceLine* NewL(CSimPhone* aPhone,const TDesC& aName);
       
    37 	CSimVoiceLine(CSimPhone* aPhone);
       
    38 	~CSimVoiceLine();
       
    39 
       
    40 // MTelObjectTSY pure virtuals
       
    41 	virtual CTelObject* OpenNewObjectByNameL(const TDesC& aName);
       
    42 	virtual CTelObject* OpenNewObjectL(TDes& aNewName);
       
    43 
       
    44 // MLineBaseTSY pure virtuals
       
    45 	virtual TInt EnumerateCall(const TTsyReqHandle aTsyReqHandle,TInt* aCount);
       
    46     virtual TInt GetCallInfo(const TTsyReqHandle,TCallInfoIndex*);
       
    47 // MSubSessionExtBaseTSY
       
    48 	virtual TInt ExtFunc(const TTsyReqHandle aTsyReqHandle,const TInt aIpc,const TDataPackage& aPackage);
       
    49 // CLineBase
       
    50 	virtual TInt CancelService(const TInt aIpc,const TTsyReqHandle aTsyReqHandle);
       
    51 	
       
    52 	virtual CSimCall* CreateNewCallL(TDes& aNewName,TCallType aCallType);
       
    53 	TInt FindActiveVoiceCall(CSimVoiceCall*& aCall);
       
    54 	virtual TUint Caps();
       
    55 	virtual TInt FindActiveCall(CSimCall*& aCall);
       
    56 
       
    57 protected:
       
    58 	void ConstructL(const TName& aName);
       
    59 	};
       
    60 
       
    61 #endif