equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009-2010 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: |
|
15 * Declares CGlobalProgressDialogHandler class for application. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef __ADMGlobalProgressDialogHandler_h__ |
|
22 #define __ADMGlobalProgressDialogHandler_h__ |
|
23 |
|
24 #include <e32base.h> |
|
25 #include "ADMGlobalProgressDialogObserver.h" |
|
26 |
|
27 class CGlobalProgressDialogHandler : public CActive |
|
28 { |
|
29 public: |
|
30 ~CGlobalProgressDialogHandler(); |
|
31 static CGlobalProgressDialogHandler* NewL(MGlobalProgressDialogObserver& aObserver); |
|
32 static CGlobalProgressDialogHandler* NewLC(MGlobalProgressDialogObserver& aObserver); |
|
33 public: |
|
34 void StartHandler(); |
|
35 private: |
|
36 CGlobalProgressDialogHandler(MGlobalProgressDialogObserver& aObserver) |
|
37 : CActive (EPriorityStandard), iObserver(aObserver){}; |
|
38 void ConstructL(); |
|
39 private: // from CActive |
|
40 void RunL(); |
|
41 void DoCancel(); |
|
42 private: // data |
|
43 MGlobalProgressDialogObserver& iObserver; |
|
44 }; |
|
45 #endif //__ADMGlobalProgressDialogHandler_h__ |
|
46 //EOF |