equal
deleted
inserted
replaced
|
1 // Copyright (c) 2000-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 /** |
|
17 @file |
|
18 @publishedPartner |
|
19 @released |
|
20 */ |
|
21 |
|
22 #ifndef __PLUGINKILLER_H__ |
|
23 #define __PLUGINKILLER_H__ |
|
24 |
|
25 |
|
26 #include <e32base.h> |
|
27 |
|
28 //Forward Declarations |
|
29 class CPushHandlerBase; |
|
30 |
|
31 /** |
|
32 Utility class used by a WAP Push Application plugin to delete itself. |
|
33 |
|
34 @publishedPartner |
|
35 @released |
|
36 */ |
|
37 class CPluginKiller: public CActive |
|
38 { |
|
39 public: |
|
40 virtual ~CPluginKiller(); |
|
41 |
|
42 CPluginKiller(CPushHandlerBase* aPushPlugin); |
|
43 IMPORT_C void KillPushPlugin(); |
|
44 |
|
45 protected: |
|
46 virtual void DoCancel(); |
|
47 virtual void RunL(); |
|
48 |
|
49 private: |
|
50 CPushHandlerBase* iPushPlugin; |
|
51 TBool iDeletePushPlugin; |
|
52 }; |
|
53 |
|
54 #endif //_PLUGINKILLER_H |