|
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 #include <MsgMailUIDs.h> |
|
20 |
|
21 // ============================ MEMBER FUNCTIONS =============================== |
|
22 |
|
23 // ----------------------------------------------------------------------------- |
|
24 // CMailMessageView::CMailMessageView |
|
25 // C++ default constructor can NOT contain any code, that |
|
26 // might leave. |
|
27 // ----------------------------------------------------------------------------- |
|
28 // |
|
29 inline CMailMessageView::CMailMessageView() |
|
30 { |
|
31 } |
|
32 |
|
33 // Destructor |
|
34 inline CMailMessageView::~CMailMessageView() |
|
35 { |
|
36 REComSession::DestroyedImplementation(iDtor_ID_Key); |
|
37 } |
|
38 |
|
39 // ----------------------------------------------------------------------------- |
|
40 // CMailMessageView::NewL |
|
41 // Two-phased constructor. |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 inline CMailMessageView* CMailMessageView::NewL( const TUid& aImplementationUid ) |
|
45 { |
|
46 // Get the instantiation |
|
47 CMailMessageView* view = |
|
48 reinterpret_cast<CMailMessageView*> ( |
|
49 REComSession::CreateImplementationL(aImplementationUid, |
|
50 _FOFF(CMailMessageView, iDtor_ID_Key))); |
|
51 |
|
52 return view; |
|
53 } |
|
54 |
|
55 // ----------------------------------------------------------------------------- |
|
56 // CMailMessageView::ListL |
|
57 // ----------------------------------------------------------------------------- |
|
58 // |
|
59 inline void CMailMessageView::ListL( RImplInfoPtrArray& aImplInfoArray ) |
|
60 { |
|
61 REComSession::ListImplementationsL( TUid::Uid( KUidMsgMailECOMInterface ), |
|
62 aImplInfoArray ); |
|
63 } |
|
64 |
|
65 // ----------------------------------------------------------------------------- |
|
66 // CMailMessageView::ViewMessageL |
|
67 // ----------------------------------------------------------------------------- |
|
68 // |
|
69 inline void CMailMessageView::ViewMessageL( |
|
70 RFileReadStream& /*aReadStream*/, |
|
71 MMailAppUiInterface& /*aUICallBack*/) |
|
72 {} |
|
73 |
|
74 // ----------------------------------------------------------------------------- |
|
75 // CMailMessageView::ResourceFile |
|
76 // ----------------------------------------------------------------------------- |
|
77 // |
|
78 inline const TDesC& CMailMessageView::ResourceFile() |
|
79 { |
|
80 return KNullDesC(); |
|
81 } |
|
82 |
|
83 // End of File |