equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Data types passed through Publish and Subscribe |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef TELINTERNALPSTYPES_H |
|
20 #define TELINTERNALPSTYPES_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <cntdef.h> |
|
24 |
|
25 // CONSTANTS |
|
26 |
|
27 |
|
28 // DATA TYPES |
|
29 typedef TUint8 TCallId; |
|
30 |
|
31 /** |
|
32 * Contact information of the remote party |
|
33 * Note: Size of the data must not exceed RProperty::KMaxPropertySize. |
|
34 */ |
|
35 struct TTelRemotePartyContactInfo |
|
36 { |
|
37 /** |
|
38 * Type of remote address |
|
39 */ |
|
40 enum TCLIAddressType |
|
41 { |
|
42 ENotSet, |
|
43 EHome, |
|
44 EMobile, |
|
45 EWork, |
|
46 EPhone, |
|
47 EFaxNumber, |
|
48 EPager, |
|
49 EVideo, |
|
50 ESIP, |
|
51 EEmergency |
|
52 }; |
|
53 |
|
54 // call identity |
|
55 TCallId iCallId; |
|
56 |
|
57 // Contact item id |
|
58 #ifdef RD_VIRTUAL_PHONEBOOK |
|
59 // Contact Link packed |
|
60 TBuf8<255> iPackedLinks; |
|
61 #else // RD_VIRTUAL_PHONEBOOK |
|
62 // Contact item id |
|
63 TContactItemId iContactItemId; |
|
64 #endif // RD_VIRTUAL_PHONEBOOK |
|
65 |
|
66 // CLI address |
|
67 TPhCltTelephoneNumber iAddress; |
|
68 |
|
69 // Address type |
|
70 TCLIAddressType iAddressType; |
|
71 |
|
72 typedef TPckg<TTelRemotePartyContactInfo> TInfoPckg; |
|
73 }; |
|
74 |
|
75 #endif // TELINTERNALPSTYPES_H |
|
76 |
|
77 // End of file |