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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 /** |
|
19 @file |
|
20 @publishedPartner |
|
21 @released |
|
22 */ |
|
23 |
|
24 #ifndef __PLUGINKILLER_H__ |
|
25 #define __PLUGINKILLER_H__ |
|
26 |
|
27 |
|
28 #include <e32base.h> |
|
29 |
|
30 ///Forward Declarations |
|
31 class CPushHandlerBase; |
|
32 |
|
33 /** |
|
34 Utility class used by a WAP Push Application plugin to delete itself. |
|
35 |
|
36 @publishedPartner |
|
37 @released |
|
38 */ |
|
39 class CPluginKiller: public CActive |
|
40 { |
|
41 public: |
|
42 virtual ~CPluginKiller(); |
|
43 |
|
44 CPluginKiller(CPushHandlerBase* aPushPlugin); |
|
45 IMPORT_C void KillPushPlugin(); |
|
46 |
|
47 protected: |
|
48 virtual void DoCancel(); |
|
49 virtual void RunL(); |
|
50 |
|
51 private: |
|
52 CPushHandlerBase* iPushPlugin; |
|
53 TBool iDeletePushPlugin; |
|
54 }; |
|
55 |
|
56 #endif //_PLUGINKILLER_H |