|
1 /* |
|
2 * Copyright (c) 2009-2010 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: Constant used for vmbx engine |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef C_VOICEMAILBOXDEFSINTERNAL_H |
|
19 #define C_VOICEMAILBOXDEFSINTERNAL_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 |
|
24 // CONSTANTS |
|
25 const TInt KVmLbxItemsArraySize = 3; |
|
26 const TInt KVmbxPhoneCharMaxLength = 48; |
|
27 |
|
28 /**Sim card voice mailbox file type*/ |
|
29 enum TVmbxSimPhonebookType |
|
30 { |
|
31 /** |
|
32 * Sim file using 6f17 file. |
|
33 */ |
|
34 EVMBXPhoneBook = 0, |
|
35 /** |
|
36 * Sim file using 6fc7 file. |
|
37 */ |
|
38 EMBDNPhoneBook |
|
39 }; |
|
40 |
|
41 /**CenRep Key which storaged value would be changed*/ |
|
42 enum TVmbxCenRepKey |
|
43 { |
|
44 /** |
|
45 * Storage Voice number of Line Primary. |
|
46 */ |
|
47 EVmbxVoiceLinePrimaryKey = 0, |
|
48 /** |
|
49 * Storage Voice number of Line Alternate. |
|
50 */ |
|
51 EVmbxVoiceLineAlternateKey, |
|
52 /** |
|
53 * Storage Video number of Line Primary. |
|
54 */ |
|
55 EVmbxVideoLinePrimaryKey, |
|
56 /** |
|
57 * Storage Video number of Line Alternate. |
|
58 */ |
|
59 EVmbxVideoLineAlternateKey, |
|
60 /** |
|
61 * the max value. |
|
62 */ |
|
63 EVmbxCenRepMax |
|
64 }; |
|
65 |
|
66 /** |
|
67 * TVmbxServiceInfo, contains Service information. |
|
68 * |
|
69 * @since S60 5.2 |
|
70 **/ |
|
71 class TVmbxServiceInfo |
|
72 { |
|
73 public: // Constructors and destructor |
|
74 |
|
75 TVmbxServiceInfo() |
|
76 { |
|
77 iServiceId = 0; |
|
78 iSnapId = 0; |
|
79 } |
|
80 |
|
81 public: // Data |
|
82 |
|
83 // Service's Id |
|
84 TUint iServiceId; |
|
85 |
|
86 // Service's SNAP Id |
|
87 TUint32 iSnapId; |
|
88 |
|
89 // Service's name. |
|
90 TBuf<64> iName; |
|
91 |
|
92 // Service's address. |
|
93 TBuf<100> iAddress; |
|
94 }; |
|
95 |
|
96 /**Asynchronous operation type of sim card*/ |
|
97 enum TVmbxSimAsynType |
|
98 { |
|
99 /** |
|
100 * the default value. |
|
101 */ |
|
102 EVmbxSimDefault, |
|
103 /** |
|
104 * Retrieves Phonebook stroe information. |
|
105 */ |
|
106 EVmbxSimGetInfo, |
|
107 /** |
|
108 * Retrieves Phonebook entry for "voicemail" mailbox number. |
|
109 */ |
|
110 EVmbxSimMbdnInfo, |
|
111 /** |
|
112 * Read "voicemail" mailbox number from phonebook store. |
|
113 */ |
|
114 EVmbxSimEntryRead, |
|
115 /** |
|
116 * Write "voicemail" mailbox number to phonebook store. |
|
117 */ |
|
118 EVmbxSimEntryWrite |
|
119 }; |
|
120 |
|
121 /**Note for vmbx ui utilities*/ |
|
122 enum TVmbxNoteType |
|
123 { |
|
124 EInvalidNumber, |
|
125 ESavedToPhoneMemory, |
|
126 ESavedToSimMemory, |
|
127 EVideoNumberSaved, |
|
128 EDefineVoiceNumber, |
|
129 EDefineVideoNumber, |
|
130 ENotAllowUserEditing |
|
131 }; |
|
132 |
|
133 #endif // C_VOICEMAILBOXDEFSINTERNAL_H |