|
1 /* |
|
2 * Copyright (c) 2002-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: test class implementation for MSenMessage.h. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 #ifndef TestMSenMessage_H |
|
29 #define TestMSenMessage_H |
|
30 |
|
31 // INCLUDES |
|
32 #include <e32base.h> |
|
33 #include <MSenMessage.h> |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 // CLASS DECLARATION |
|
39 |
|
40 /** |
|
41 * An internal structure containing a test case name and |
|
42 * the pointer to function doing the test |
|
43 * |
|
44 * @lib ?library |
|
45 * @since ?Series60_version |
|
46 */ |
|
47 class CTestMSenMessage: public MSenMessage, public CBase |
|
48 { |
|
49 public: |
|
50 static CTestMSenMessage* NewL(); |
|
51 static CTestMSenMessage* NewLC(); |
|
52 virtual MSenMessage::TClass Type() ; |
|
53 virtual MSenMessage::TDirection Direction() ; |
|
54 virtual TInt SetContext(MSenMessageContext* apNotOwnedContext) ; |
|
55 virtual MSenMessageContext* Context() ; |
|
56 virtual TInt SetProperties(MSenProperties* apOwnedProperties) ; |
|
57 virtual MSenProperties* Properties() ; |
|
58 virtual TBool IsSafeToCast(TClass aType) ; |
|
59 virtual TInt TxnId() ; |
|
60 virtual MSenMessage* CloneL() ; |
|
61 private: |
|
62 CTestMSenMessage(); |
|
63 }; |
|
64 |
|
65 #endif |