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: Video mailbox engine implementation |
|
15 * Interface : Private, CVmbxCsVideoEngine |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef C_VMBXCSVIDEOENGINE_H |
|
20 #define C_VMBXCSVIDEOENGINE_H |
|
21 |
|
22 // INCLUDES |
|
23 #include "mvmbxresourceprovider.h" |
|
24 |
|
25 // FORWARD DECLARATIONS |
|
26 class CVmbxEngineBase; |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Implements functionality specifig to video mailbox implementation |
|
33 * |
|
34 * @lib vmbxengine.lib |
|
35 */ |
|
36 NONSHARABLE_CLASS( CVmbxCsVideoEngine ) : public CVmbxEngineBase |
|
37 { |
|
38 |
|
39 public: // Constructors and destructor |
|
40 |
|
41 /** |
|
42 * Two-phased constructor |
|
43 * @param in aProvider Reference to Ui Utilities |
|
44 * @return New instance of the object. Ownership transferred. |
|
45 */ |
|
46 static CVmbxCsVideoEngine* NewL( MVmbxResourceProvider& aProvider ); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 virtual ~CVmbxCsVideoEngine(); |
|
52 |
|
53 // from base class CVmbxEntryBase |
|
54 |
|
55 /** |
|
56 * @see CVmbxEntryBase::GetL |
|
57 * |
|
58 * @param in aEntry a pointer reference of CVoiceMailboxEntry |
|
59 */ |
|
60 void GetL( CVoiceMailboxEntry*& aEntry ); |
|
61 |
|
62 /** |
|
63 * @see CVmbxEntryBase::SaveL |
|
64 * |
|
65 * @param aEntry Reference to CVoiceMailboxEntry |
|
66 * @param aShowNotesAllowed Provision mode is used to decide whether show |
|
67 * saved notification UI dialog. If aShowNotesAllowed is EFalse, |
|
68 * saved notification UI dialog will not show. |
|
69 */ |
|
70 void SaveL( const CVoiceMailboxEntry& aEntry, |
|
71 TBool aShowNotesAllowed ); |
|
72 |
|
73 /** |
|
74 * To save mailbox Provisioned entry value |
|
75 * |
|
76 * @param in aEntry Reference to CVoiceMailboxEntry |
|
77 */ |
|
78 void SaveProvisionedEntryL( const CVoiceMailboxEntry& aEntry ); |
|
79 |
|
80 /** |
|
81 * @see CVoiceMailbox::CheckConfiguration |
|
82 * |
|
83 * @param aParams Specifies which mailbox capabilities, |
|
84 * the caller wants to check. |
|
85 * @param aFlags Use TVmbxFeatureCapabilityFlag values for this parameter. |
|
86 * Specifies what features client wants to check. |
|
87 |
|
88 * @return True if feature(s) enabled. |
|
89 */ |
|
90 TBool CheckConfiguration( const TVoiceMailboxParams& aParams, |
|
91 const TInt aFlags ); |
|
92 |
|
93 private: |
|
94 |
|
95 /** |
|
96 * C++ default constructor. |
|
97 * |
|
98 * @param in aProvider Reference to Ui Utilities |
|
99 */ |
|
100 CVmbxCsVideoEngine( MVmbxResourceProvider& aProvider ); |
|
101 |
|
102 /** |
|
103 * By default Symbian 2nd phase constructor is private. |
|
104 * |
|
105 */ |
|
106 void ConstructL(); |
|
107 |
|
108 }; |
|
109 |
|
110 #endif // C_VMBXCSVIDEOENGINE_H |
|