equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2010 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". |
13 * |
13 * |
14 * Description: This file implements class CEmailApiUtils. |
14 * Description: This file implements class CEmailApiUtils. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <e32std.h> |
18 #include <e32std.h> |
19 #include "cfsmailplugin.h" |
19 #include "CFSMailPlugin.h" |
20 #include "emailapidefs.h" |
20 #include "emailapidefs.h" |
21 #include "emailclientapiimpldefs.h" |
21 #include "emailclientapiimpldefs.h" |
22 #include "emailapiutils.h" |
22 #include "emailapiutils.h" |
23 |
|
24 |
|
25 // ======== MEMBER FUNCTIONS ======== |
|
26 |
23 |
27 // --------------------------------------------------------------------------- |
24 // --------------------------------------------------------------------------- |
28 // |
25 // |
29 // --------------------------------------------------------------------------- |
26 // --------------------------------------------------------------------------- |
30 CPluginData::CPluginData( TUid aUid ) : |
27 CPluginData::CPluginData( TUid aUid ) : |
125 { |
122 { |
126 TFSMailMsgId id( aPluginData.Uid(), aId.iId ); |
123 TFSMailMsgId id( aPluginData.Uid(), aId.iId ); |
127 return id; |
124 return id; |
128 } |
125 } |
129 |
126 |
130 |
|
131 |
|
132 // --------------------------------------------------------------------------- |
127 // --------------------------------------------------------------------------- |
133 // |
128 // |
134 // --------------------------------------------------------------------------- |
129 // --------------------------------------------------------------------------- |
135 void CleanupReleasePush::PushL( EmailInterface::MEmailInterface& aItem ) |
130 void CleanupReleasePush::PushL( EmailInterface::MEmailInterface& aItem ) |
136 { |
131 { |
144 void CleanupReleasePush::Release( TAny *aPtr ) |
139 void CleanupReleasePush::Release( TAny *aPtr ) |
145 { |
140 { |
146 reinterpret_cast<EmailInterface::MEmailInterface*>( aPtr )->Release(); |
141 reinterpret_cast<EmailInterface::MEmailInterface*>( aPtr )->Release(); |
147 } |
142 } |
148 |
143 |
149 // End of file. |
144 // End of file |