|
1 /** |
|
2 * Copyright (c) 2003-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 */ |
|
23 |
|
24 |
|
25 #ifndef __CMTF_TEST_ACTION_UTILS_MESSAGE_H__ |
|
26 #define __CMTF_TEST_ACTION_UTILS_MESSAGE_H__ |
|
27 |
|
28 #include <e32base.h> |
|
29 #include <msvstore.h> |
|
30 #include <miuthdr.h> |
|
31 #include <badesca.h> |
|
32 #include <gsmumsg.h> |
|
33 |
|
34 |
|
35 class CMtfTestActionUtilsMessage |
|
36 { |
|
37 public: |
|
38 static TInt VerifyBodyTextContentsL(CMsvEntry& aEntry, HBufC* aFileName ); |
|
39 static TInt VerifyEmailRecipientsL(CMsvStore& aMsgStore, CDesC16Array& aRecipientArray,TImHeaderEncodingInfo::TFieldList aFieldType); |
|
40 static TInt VerifySmsRecipientsL(CMsvStore& aMsgStore,CDesC16Array& aRecipientArray); |
|
41 static TInt VerifyObexRecipientL(CMsvEntry& aMsgEntry, CMsvStore& aMsgStore, CDesC16Array& aRecipientArray); |
|
42 static TInt VerifyEmailSubjectL (CMsvEntry& aMsgEntry,HBufC* aSubject); |
|
43 static TInt VerifyObexSubjectL (CMsvEntry& aEntry,HBufC* aSubject); |
|
44 static void FormatBtRecipientAddress(TDesC& aRecipient, TDes16& formattedAddr); |
|
45 ~CMtfTestActionUtilsMessage(); |
|
46 |
|
47 private: |
|
48 CMtfTestActionUtilsMessage(); |
|
49 |
|
50 |
|
51 private: |
|
52 /*check for any member variable*/ |
|
53 }; |
|
54 |
|
55 |
|
56 #endif//__CMTF_TEST_ACTION_UTILS_MESSAGE_H__ |