|
1 /* |
|
2 * Copyright (c) 2004-2007 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CIMGPPRINTPROGRESSDLG_H |
|
20 #define CIMGPPRINTPROGRESSDLG_H |
|
21 |
|
22 #include <AknWaitDialog.h> |
|
23 #include <eikdialg.h> |
|
24 |
|
25 /** |
|
26 * |
|
27 * Modified print progress dialog to enable "branding bitmap" to appear to |
|
28 * the bottom of the progress dialog |
|
29 * |
|
30 */ |
|
31 class CIMGPPrintProgressDlg |
|
32 : public CAknProgressDialog |
|
33 { |
|
34 |
|
35 public: // Constructor and destructor |
|
36 |
|
37 /** |
|
38 * Constructor |
|
39 * |
|
40 * @param aSelfPtr Pointer to itself. The pointer needs to be |
|
41 * valid when the dialog is dismissed and must not |
|
42 * be on the stack. |
|
43 * @param aVisibilityDelayOff Cut off the delay at the beginning |
|
44 */ |
|
45 CIMGPPrintProgressDlg( CEikDialog** aSelfPtr, TBool aVisibilityDelayOff ); |
|
46 |
|
47 /** |
|
48 * Destructor |
|
49 */ |
|
50 virtual ~CIMGPPrintProgressDlg(); |
|
51 |
|
52 public: // Methods derived from CAknProgressDialog |
|
53 |
|
54 TKeyResponse OfferKeyEventL( const TKeyEvent &aKeyEvent, TEventCode aType ); |
|
55 |
|
56 void PostLayoutDynInitL(); |
|
57 |
|
58 CEikCaptionedControl* GetFirstLineOnFirstPageOrNull(); |
|
59 |
|
60 void HandleResourceChange( TInt aType ); |
|
61 |
|
62 private: |
|
63 |
|
64 /** |
|
65 * Handles commands coming to the viwe |
|
66 * @param aCommand The command ID |
|
67 */ |
|
68 |
|
69 }; |
|
70 |
|
71 #endif // CIMGPPRINTPROGRESSDLG_H |
|
72 |
|
73 // End of File |