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: public VmbxCenrepHandler APIs for internal class |
|
15 * Interface : Internal, MVmbxCenrepHandler |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef M_VMBXCENREPHANDLER_H |
|
21 #define M_VMBXCENREPHANDLER_H |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 // FORWARD DECLARATION |
|
26 class CVoiceMailboxEntry; |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * MVmbxCenrepHandler |
|
32 * |
|
33 * @since S60 v5.2 |
|
34 * @lib vmbxengine.lib |
|
35 * |
|
36 */ |
|
37 NONSHARABLE_CLASS ( MVmbxCenrepHandler ) |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 /** |
|
43 * Get mailbox number from CenRep |
|
44 * |
|
45 * @param in&out aEntry the voice mailbox information data type |
|
46 * @return Symbian OS error code (KErrNone if successful) |
|
47 */ |
|
48 virtual TInt GetVmbxNumber( CVoiceMailboxEntry& aEntry ) = 0; |
|
49 |
|
50 /** |
|
51 * Saves the mailbox number |
|
52 * |
|
53 * @param in aEntry vmbx number data to save |
|
54 * @return Symbian OS error code (KErrNone if successful) |
|
55 */ |
|
56 virtual TInt Save( const CVoiceMailboxEntry& aEntry ) = 0; |
|
57 |
|
58 /** |
|
59 * Fetches active store type |
|
60 * |
|
61 * @return aStoreType Active store in use |
|
62 */ |
|
63 virtual TVmbxMemoryLocation StoreType() = 0; |
|
64 |
|
65 /** |
|
66 * Returns state of the video support |
|
67 * |
|
68 * @return ETrue if supported |
|
69 */ |
|
70 virtual TBool VideoSupported() = 0; |
|
71 |
|
72 /** |
|
73 * Returns ETrue if CenRep setting Sim read only |
|
74 * |
|
75 * @return ETrue if Sim read only |
|
76 */ |
|
77 virtual TBool IsSimReadOnly() = 0; |
|
78 |
|
79 /** |
|
80 * Returns ETrue if number allowed to user change |
|
81 * |
|
82 * @return ETrue if from Sim |
|
83 */ |
|
84 virtual TBool IsAllowedUserEdit() = 0; |
|
85 |
|
86 }; |
|
87 |
|
88 #endif // M_VMBXCENREPHANDLER_H |
|