|
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 __CSIMDATALINE_H__ |
|
17 #define __CSIMDATALINE_H__ |
|
18 |
|
19 /** |
|
20 * @file |
|
21 * Declares the class CSimDataLine |
|
22 * @internalAll |
|
23 */ |
|
24 |
|
25 #include "CSimLine.h" |
|
26 |
|
27 /** |
|
28 * CSimDataLine - Handles data specific line functionality |
|
29 * |
|
30 * Created and owned by the CSimPhone class. |
|
31 */ |
|
32 |
|
33 class CSimNtRas; |
|
34 class CSimDataCall; |
|
35 class CSimDataLine : public CSimLine |
|
36 { |
|
37 public: |
|
38 static CSimDataLine* NewL(CSimPhone* aPhone,const TDesC& aName); |
|
39 CSimDataLine(CSimPhone* aPhone); |
|
40 ~CSimDataLine(); |
|
41 |
|
42 // MTelObjectTSY pure virtuals |
|
43 virtual CTelObject* OpenNewObjectByNameL(const TDesC& aName); |
|
44 virtual CTelObject* OpenNewObjectL(TDes& aNewName); |
|
45 |
|
46 // MLineBaseTSY pure virtuals |
|
47 virtual TInt EnumerateCall(const TTsyReqHandle aTsyReqHandle,TInt* aCount); |
|
48 virtual TInt GetCallInfo(const TTsyReqHandle,TCallInfoIndex*); |
|
49 // MSubSessionExtBaseTSY |
|
50 virtual TInt ExtFunc(const TTsyReqHandle aTsyReqHandle,const TInt aIpc,const TDataPackage& aPackage); |
|
51 // CLineBase |
|
52 virtual TInt CancelService(const TInt aIpc,const TTsyReqHandle aTsyReqHandle); |
|
53 |
|
54 virtual CSimCall* CreateNewCallL(TDes& aNewName,TCallType aCallType); |
|
55 virtual TUint Caps(); |
|
56 virtual TInt FindActiveCall(CSimCall*& aCall); |
|
57 |
|
58 protected: |
|
59 void ConstructL(const TName& aName); |
|
60 }; |
|
61 |
|
62 #endif |