equal
deleted
inserted
replaced
|
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined (__MENTACT_H__) |
|
17 #define __MENTACT_H__ |
|
18 |
|
19 #if !defined (__E32BASE_H__) |
|
20 #include <e32base.h> |
|
21 #endif |
|
22 |
|
23 |
|
24 class CMsgActive : public CActive |
|
25 /** |
|
26 @internalTechnology |
|
27 @released |
|
28 */ |
|
29 { |
|
30 public: |
|
31 IMPORT_C ~CMsgActive(); |
|
32 protected: |
|
33 IMPORT_C CMsgActive(TInt aPriority); |
|
34 IMPORT_C void Queue(TRequestStatus& aStatus); |
|
35 IMPORT_C void Complete(TInt aStatus); |
|
36 IMPORT_C void DoCancel(); |
|
37 private: |
|
38 IMPORT_C void RunL(); |
|
39 virtual void DoRunL()=0; |
|
40 IMPORT_C virtual void DoComplete(TInt&); |
|
41 private: |
|
42 TRequestStatus* iReport; |
|
43 }; |
|
44 |
|
45 #endif |