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 VOICEMAILBOXDEFS_H |
|
19 #define VOICEMAILBOXDEFS_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 #include <spdefinitions.h> |
|
24 |
|
25 /** Null service id, i.e. not specified service. */ |
|
26 const TServiceId KVmbxServiceIdNone( 0 ); |
|
27 /** Service id for CS voice mailbox */ |
|
28 const TServiceId KVmbxServiceVoice( 0x01 ); |
|
29 /** Service id for CS video mailbox */ |
|
30 const TServiceId KVmbxServiceVideo( 0x01 ); |
|
31 /** The max length of voice mailbox number */ |
|
32 const TInt KVmbxMaxNumberLength = 100; |
|
33 |
|
34 /** Vmbx ALS line determination */ |
|
35 enum TVmbxAlsLineType |
|
36 { |
|
37 /** |
|
38 * Default line, meaning current active line. |
|
39 */ |
|
40 EVmbxAlsLineDefault, |
|
41 /** |
|
42 * Current ALS line is Line1. |
|
43 */ |
|
44 EVmbxAlsLine1, |
|
45 /** |
|
46 * Current ALS line is Line2. |
|
47 */ |
|
48 EVmbxAlsLine2 |
|
49 }; |
|
50 |
|
51 /** Type of Voice Mailbox. */ |
|
52 enum TVmbxType |
|
53 { |
|
54 /** |
|
55 * None vmbx type. |
|
56 */ |
|
57 EVmbxNone = 0, |
|
58 /** |
|
59 * Voice type. |
|
60 */ |
|
61 EVmbxVoice, |
|
62 /** |
|
63 * Video type. |
|
64 */ |
|
65 EVmbxVideo, |
|
66 /** |
|
67 * Voip type. |
|
68 */ |
|
69 EVmbxVoip |
|
70 }; |
|
71 |
|
72 /** Voice Mailbox feature flag definitions */ |
|
73 enum TVmbxFeatureCapabilityFlag |
|
74 { |
|
75 /** |
|
76 * Used to check whether user editing is allowed or not |
|
77 */ |
|
78 EVmbxChangeNbrAllowedOnUi = 0x01, |
|
79 |
|
80 /** |
|
81 * Used to check whether video mailbox is supported or not |
|
82 */ |
|
83 EVmbxVideoMailboxSupported = 0x02 |
|
84 }; |
|
85 |
|
86 /** Vmbx Memory location which is currently used */ |
|
87 enum TVmbxMemoryLocation |
|
88 { |
|
89 /** |
|
90 * Using phone memory. |
|
91 */ |
|
92 EVmbxPhoneMemory, |
|
93 /** |
|
94 * Using Sim memory. |
|
95 */ |
|
96 EVmbxSimMemory |
|
97 }; |
|
98 |
|
99 /** Vmbx query type which currently wanted */ |
|
100 enum TVmbxQueryMode |
|
101 { |
|
102 /** |
|
103 * User want to define number. |
|
104 */ |
|
105 EVmbxDefineMode, |
|
106 /** |
|
107 * User want to change number. |
|
108 */ |
|
109 EVmbxChangeMode |
|
110 }; |
|
111 |
|
112 #endif // VOICEMAILBOXDEFS_H |
|