1 /* |
|
2 * Copyright (c) 2002-2005 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: Types used in PhoneClient. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PHCLTTYPES_H |
|
20 #define PHCLTTYPES_H |
|
21 |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include <e32base.h> |
|
26 #ifdef SYMBIAN_OLD_EXPORT_LOCATION // Include should be removed when flag disabled from builds |
|
27 #include <cntdef.h> |
|
28 #endif |
|
29 #include <etelmm.h> |
|
30 |
|
31 #include <data_caging_path_literals.hrh> |
|
32 |
|
33 // CONSTANTS |
|
34 |
|
35 // Lengths of various strings. |
|
36 const TInt KPhCltTelephoneNumberLength = 100; // Telephony number length. |
|
37 const TInt KPhCltNameBufferLength = 50; // The name length. |
|
38 const TInt KPhCltSubAddressLength = 21; // The subaddress length, see |
|
39 // ITU-T I.330 and 3GPP TS 11.14. |
|
40 const TInt KPhCltBearerLength = 14; // The bearer length. |
|
41 const TInt KPhCltUUILength = 129; // Max user to user info length |
|
42 |
|
43 /** |
|
44 * Call type. |
|
45 */ |
|
46 enum TPhCltCallType |
|
47 { |
|
48 EPhCltVoice = 0, // Voice call. |
|
49 EPhCltVideo = 1, // Video call. |
|
50 EPhCltForcedVideo = 2, // Forced video call. |
|
51 EPhCltCallVoIP = 3 // Internet call |
|
52 }; |
|
53 |
|
54 |
|
55 // Type for telephone number. |
|
56 typedef TBuf< KPhCltTelephoneNumberLength > TPhCltTelephoneNumber; |
|
57 |
|
58 // Type for name. |
|
59 typedef TBuf< KPhCltNameBufferLength > TPhCltNameBuffer; |
|
60 |
|
61 |
|
62 // Type for result of call. |
|
63 typedef TInt TPhCltPhoneResults; |
|
64 |
|
65 // Type for calling party subaddress. |
|
66 typedef TBuf< KPhCltSubAddressLength > TPhCltSubAddress; |
|
67 |
|
68 // Type for bearer capability. |
|
69 typedef TBuf8< KPhCltBearerLength > TPhCltBearerCapability; |
|
70 |
|
71 #endif // PHCLTTYPES_H |
|
72 |
|
73 // End of File |
|