equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef T_RMOBILELINE_DATA_H |
|
20 #define T_RMOBILELINE_DATA_H |
|
21 |
|
22 #include "datawrapperbase.h" |
|
23 // For ETel API. |
|
24 #include <etel.h> |
|
25 |
|
26 // For ETel API. |
|
27 #include <etelmm.h> |
|
28 |
|
29 class CT_RMobileLineData : public CDataWrapperBase |
|
30 { |
|
31 public: |
|
32 ~CT_RMobileLineData(); |
|
33 static CT_RMobileLineData* NewL(); |
|
34 |
|
35 virtual TAny* GetObject(); |
|
36 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); |
|
37 |
|
38 TName* GetCallNameL(TInt aCall); |
|
39 |
|
40 protected: |
|
41 CT_RMobileLineData(); |
|
42 void ConstructL(); |
|
43 void InitialiseL(); |
|
44 private: |
|
45 void RunL(CActive* aActive, TInt aIndex); |
|
46 |
|
47 void DoCmdOpen(const TDesC& aSection); |
|
48 void DoCmdClose(); |
|
49 void DoCmdNotifyIncomingCall(const TDesC& aSection, const TInt aAsyncErrorIndex); |
|
50 |
|
51 private: |
|
52 CActiveCallback* iActiveCallback; |
|
53 |
|
54 TInt iMaxPhoneCalls; |
|
55 /** |
|
56 * Access to functionality assosiated with a specific mobile line. |
|
57 */ |
|
58 RMobileLine *iMobileLine; //Wrapped object |
|
59 |
|
60 /** |
|
61 * Array of Call names |
|
62 */ |
|
63 RArray< TName > iCallNames; //Pointer |
|
64 }; |
|
65 |
|
66 #endif // T_RMOBILELINE_DATA_H |
|
67 |
|
68 |