1 /* |
1 /* |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
42 // |
42 // |
43 inline void CFSMailPlugin::Close() |
43 inline void CFSMailPlugin::Close() |
44 { |
44 { |
45 REComSession::FinalClose(); |
45 REComSession::FinalClose(); |
46 } |
46 } |
47 |
47 |
48 // ----------------------------------------------------------------------------- |
48 // ----------------------------------------------------------------------------- |
49 // CFSMailPlugin::ListImplementationsL |
49 // CFSMailPlugin::ListImplementationsL |
50 // ----------------------------------------------------------------------------- |
50 // ----------------------------------------------------------------------------- |
51 inline void CFSMailPlugin::ListImplementationsL( |
51 inline void CFSMailPlugin::ListImplementationsL( |
52 RPointerArray<CImplementationInformation>& aInfo) |
52 RPointerArray<CImplementationInformation>& aInfo) |
58 // CFSMailPlugin::NewL |
58 // CFSMailPlugin::NewL |
59 // ----------------------------------------------------------------------------- |
59 // ----------------------------------------------------------------------------- |
60 // |
60 // |
61 inline CFSMailPlugin* CFSMailPlugin::NewL(TUid aUid) |
61 inline CFSMailPlugin* CFSMailPlugin::NewL(TUid aUid) |
62 { |
62 { |
63 return static_cast<CFSMailPlugin*>( |
63 return static_cast<CFSMailPlugin*>( |
64 REComSession::CreateImplementationL( |
64 REComSession::CreateImplementationL( |
65 aUid, _FOFF( CFSMailPlugin, iDtor_ID_Key ) ) ); |
65 aUid, _FOFF( CFSMailPlugin, iDtor_ID_Key ) ) ); |
66 } |
|
67 |
|
68 // <cmail> empty implementations added to avoid CS warnings |
|
69 // ----------------------------------------------------------------------------- |
|
70 // CFSMailPlugin::GetConnectionId |
|
71 // ----------------------------------------------------------------------------- |
|
72 inline TInt CFSMailPlugin::GetConnectionId( |
|
73 TFSMailMsgId /*aMailBoxId*/, |
|
74 TUint32& /*aConnectionId*/ ) |
|
75 { |
|
76 return KErrNotSupported; |
|
77 } |
|
78 |
|
79 // <cmail> empty implementations added to avoid CS warnings |
|
80 // ----------------------------------------------------------------------------- |
|
81 // CFSMailPlugin::IsConnectionAllowedWhenRoaming |
|
82 // ----------------------------------------------------------------------------- |
|
83 inline TInt CFSMailPlugin::IsConnectionAllowedWhenRoaming( |
|
84 TFSMailMsgId /*aMailBoxId*/, |
|
85 TBool& /*aConnectionAllowed*/ ) |
|
86 { |
|
87 return KErrNotSupported; |
|
88 } |
|
89 // </cmail> |
|
90 |
|
91 // <qmail> |
|
92 // ----------------------------------------------------------------------------- |
|
93 // CFSMailPlugin::CreateMessageToSendL |
|
94 // ----------------------------------------------------------------------------- |
|
95 inline void CFSMailPlugin::CreateMessageToSendL( |
|
96 const TFSMailMsgId& /*aMailBoxId*/, |
|
97 MFSMailRequestObserver& /*aOperationObserver*/, |
|
98 const TInt /*aRequestId*/ ) |
|
99 { |
|
100 User::Leave( KErrFSMailPluginNotSupported ); |
|
101 } |
66 } |
102 |
67 |
103 // ----------------------------------------------------------------------------- |
68 // ----------------------------------------------------------------------------- |
104 // CFSMailPlugin::CreateForwardMessageL |
69 // CFSMailPlugin::CreateForwardMessageL |
105 // ----------------------------------------------------------------------------- |
70 // ----------------------------------------------------------------------------- |