|
1 /* |
|
2 * Copyright (c) 2005-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: CMmsMtmDeliveryDialogLauncher declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef DELIVERYDIALOGLAUNCHER_H |
|
21 #define DELIVERYDIALOGLAUNCHER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 #include "MMmsMtmDeliveryDataContainer.h" |
|
27 |
|
28 |
|
29 |
|
30 class CMsgDeliveryItem; |
|
31 class CMmsMTMLogData; |
|
32 class TMmsMsvEntry; |
|
33 class CMmsClientMtm; |
|
34 class CMsgInfoDeliveryStatusPopup; |
|
35 |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * |
|
40 * |
|
41 * @since 3.0 |
|
42 */ |
|
43 class CMmsMtmDeliveryDialogLauncher :public CBase, public MMmsMtmDeliveryDataContainer |
|
44 { |
|
45 public: // Constructors and destructor |
|
46 |
|
47 /** |
|
48 * Symbian OS constructor |
|
49 * @param none |
|
50 * @return a new CMmsMtmDeliveryDialogLauncher object. |
|
51 */ |
|
52 IMPORT_C static CMmsMtmDeliveryDialogLauncher* NewL(TMmsMsvEntry aEntry, CMmsClientMtm* aMmsClient); |
|
53 |
|
54 /** |
|
55 * Destructor. |
|
56 */ |
|
57 ~CMmsMtmDeliveryDialogLauncher(); |
|
58 |
|
59 public: // Functions from MMmsMtmDeliveryDataContainer |
|
60 |
|
61 /** |
|
62 * "Callback" method which receives an data array to be used in the delivery status dialog. |
|
63 * |
|
64 * @param aDataArray: The data array to be forwarded to the dialog |
|
65 */ |
|
66 void SetDataArrayL(CArrayPtrFlat< CMsgDeliveryItem >* aDataArray); |
|
67 |
|
68 public: // new functions |
|
69 |
|
70 /** |
|
71 * Starts the Delivery status dialog |
|
72 */ |
|
73 IMPORT_C TBool StartDialogL(); |
|
74 |
|
75 private: |
|
76 |
|
77 /** |
|
78 * By default Symbian OS constructor is private. |
|
79 */ |
|
80 void ConstructL(TMmsMsvEntry aEntry, CMmsClientMtm* aMmsClient); |
|
81 |
|
82 /** |
|
83 * C++ constructor |
|
84 * @param aRegisteredMtmDll registry dll |
|
85 */ |
|
86 CMmsMtmDeliveryDialogLauncher( ); |
|
87 |
|
88 private: |
|
89 CMmsMTMLogData* iLogData; |
|
90 TMmsMsvEntry iEntry; |
|
91 CMmsClientMtm* iMmsClient; |
|
92 CMsgInfoDeliveryStatusPopup* iDialog; |
|
93 }; |
|
94 |
|
95 #endif // MMSMTMUIDATA_H |
|
96 |
|
97 // End of File |