|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Mesasge view |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CMAILMESSAGEVIEW_H |
|
21 #define CMAILMESSAGEVIEW_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <MMailMessageView.h> |
|
25 #include <ecom/ecom.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Mail message view base class. |
|
33 * |
|
34 * @since Series 60 3.0 |
|
35 */ |
|
36 class CMailMessageView : public CBase, |
|
37 public MMailMessageView |
|
38 { |
|
39 public: // Constructors and destructor |
|
40 |
|
41 /** |
|
42 * NewL |
|
43 * @param aImplementationUid |
|
44 */ |
|
45 static CMailMessageView* NewL( |
|
46 const TUid& aImplementationUid ); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 ~CMailMessageView(); |
|
52 |
|
53 public: // New functions |
|
54 |
|
55 static void ListL( RImplInfoPtrArray& aImplInfoArray ); |
|
56 |
|
57 protected: // Functions from base classes |
|
58 // From MMailMessageView |
|
59 void ViewMessageL( |
|
60 RFileReadStream& aReadStream, |
|
61 MMailAppUiInterface& aUICallBack); |
|
62 // From MMailMessageView |
|
63 const TDesC& ResourceFile(); |
|
64 |
|
65 protected: |
|
66 |
|
67 // Default c'tor |
|
68 CMailMessageView(); |
|
69 |
|
70 private: // Data |
|
71 /// Implementation UID of the adapter |
|
72 TUid iDtor_ID_Key; |
|
73 |
|
74 }; |
|
75 |
|
76 // This includes the implementation of the instantiation functions and |
|
77 // destructor |
|
78 #include "CMailMessageView.inl" |
|
79 |
|
80 #endif // CMAILMESSAGEVIEW_H |
|
81 |
|
82 // End of File |