equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: connection header declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 #ifndef TestConsumer_H |
|
28 #define TestConsumer_H |
|
29 |
|
30 // INCLUDES |
|
31 |
|
32 |
|
33 #include <MSenServiceConsumer.h> |
|
34 |
|
35 |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * An internal structure containing a test case name and |
|
41 * the pointer to function doing the test |
|
42 * |
|
43 * @lib ?library |
|
44 * @since ?Series60_version |
|
45 */ |
|
46 class CTestConsumer: public MSenServiceConsumer, public CBase |
|
47 { |
|
48 public: |
|
49 static CTestConsumer* NewL(); |
|
50 static CTestConsumer* NewLC(); |
|
51 void HandleMessageL(const TDesC8& aMessage = KNullDesC8) ; |
|
52 void HandleErrorL(const TInt aErrorCode = 0, |
|
53 const TDesC8& aErrorMessage= KNullDesC8); |
|
54 void SetStatus(const TInt aStatus = 0); |
|
55 |
|
56 // private: |
|
57 CTestConsumer(); |
|
58 }; |
|
59 |
|
60 #endif |