equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2007-2008 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: Message header URL Factory |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __CFREESTYLE_MESSAGE_HEADER_URL_FACTORY_H__ |
|
19 #define __CFREESTYLE_MESSAGE_HEADER_URL_FACTORY_H__ |
|
20 |
|
21 #include <e32base.h> |
|
22 #include "FreestyleMessageHeaderURL.h" |
|
23 |
|
24 class CFSMailAddress; |
|
25 |
|
26 class FreestyleMessageHeaderURLFactory |
|
27 { |
|
28 public: |
|
29 enum TEmailAddressType |
|
30 { |
|
31 EEmailAddressTypeFrom, |
|
32 EEmailAddressTypeTo, |
|
33 EEmailAddressTypeCc, |
|
34 EEmailAddressTypeBcc |
|
35 }; |
|
36 public: |
|
37 IMPORT_C static CFreestyleMessageHeaderURL* CreateEmailAddressUrlL( TEmailAddressType aEmailType, const CFSMailAddress& aEmailAddress ); |
|
38 IMPORT_C static CFreestyleMessageHeaderURL* CreateAttachmentUrlL( const TDesC& aAttachmentItemId ); |
|
39 IMPORT_C static CFreestyleMessageHeaderURL* CreateEmailSubjectUrlL( const TDesC& aSubject ); |
|
40 }; |
|
41 |
|
42 #endif //__CFREESTYLE_MESSAGE_HEADER_URL_FACTORY_H__ |
|
43 |