|
1 /* |
|
2 * Copyright (c) 2002 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 the License "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: Declaration of CPushViewerDocument |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef PUSHVIEWERDOC_H |
|
21 #define PUSHVIEWERDOC_H |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <msgeditordocument.h> |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * Push Viewer application's document. |
|
31 */ |
|
32 class CPushViewerDocument : public CMsgEditorDocument |
|
33 { |
|
34 public: // Constructors and destructor |
|
35 |
|
36 static CPushViewerDocument* NewL( CEikApplication& aApp ); |
|
37 |
|
38 public: // New functions |
|
39 |
|
40 /** |
|
41 * Issue EPushMtmCmdLoadService to MTM UI. |
|
42 * @return None. |
|
43 */ |
|
44 void IssueLoadServiceL(); |
|
45 |
|
46 /** |
|
47 * Issue KMtmUiFunctionMessageInfo to MTM UI. |
|
48 * @return None. |
|
49 */ |
|
50 void IssueMessageInfoL(); |
|
51 |
|
52 private: // Constructors and destructor |
|
53 |
|
54 CPushViewerDocument( CEikApplication& aApp ); |
|
55 |
|
56 private: // Functions from base classes |
|
57 |
|
58 /** |
|
59 * From CEikDocument. |
|
60 */ |
|
61 CEikAppUi* CreateAppUiL(); |
|
62 |
|
63 /** |
|
64 * From CMsgEditorDocument |
|
65 */ |
|
66 TMsvId DefaultMsgFolder() const; |
|
67 |
|
68 /** |
|
69 * From CMsgEditorDocument |
|
70 */ |
|
71 TMsvId DefaultMsgService() const; |
|
72 |
|
73 /** |
|
74 * From CMsgEditorDocument |
|
75 */ |
|
76 TMsvId CreateNewL( TMsvId aService, TMsvId aFolder ); |
|
77 |
|
78 /** |
|
79 * From CMsgEditorDocument |
|
80 */ |
|
81 void EntryChangedL(); |
|
82 }; |
|
83 |
|
84 #endif // PUSHVIEWERDOC_H |
|
85 |
|
86 // End of File |