|
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 CIMGPVIEWEMPTYVIEW_H |
|
20 #define CIMGPVIEWEMPTYVIEW_H |
|
21 |
|
22 #include <aknview.h> |
|
23 #include <e32std.h> |
|
24 |
|
25 class CImagePrintBlankContainer; |
|
26 |
|
27 const TUid KIMGPViewEmptyViewId = { 4 }; |
|
28 |
|
29 /** |
|
30 * |
|
31 * Empty view |
|
32 * |
|
33 */ |
|
34 class CIMGPViewEmptyView : public CAknView |
|
35 { |
|
36 public: // Constructors and destructors |
|
37 |
|
38 /** |
|
39 * Standard two-phase constructors |
|
40 * |
|
41 * @param aAppUi Pointer to Imageprint AppUi class |
|
42 * @param aPrintJob Print job interface to the engine |
|
43 * @return Initialized instance of the class |
|
44 */ |
|
45 static CIMGPViewEmptyView* NewL(); |
|
46 |
|
47 /** |
|
48 * Destructor |
|
49 */ |
|
50 virtual ~CIMGPViewEmptyView(); |
|
51 |
|
52 protected: |
|
53 |
|
54 /** |
|
55 * Constructor |
|
56 * |
|
57 */ |
|
58 CIMGPViewEmptyView(); |
|
59 |
|
60 /** |
|
61 * 2nd-phase constructor |
|
62 */ |
|
63 void ConstructL(); |
|
64 |
|
65 public: // Methods derived from CAknView |
|
66 |
|
67 TUid Id() const; |
|
68 void HandleCommandL( TInt aCommand ); |
|
69 private: // Methods derived from CAknView |
|
70 |
|
71 void DoActivateL ( const TVwsViewId &aPrevViewId, |
|
72 TUid aCustomMessageId, |
|
73 const TDesC8 &aCustomMessage ); |
|
74 void DoDeactivate(); |
|
75 |
|
76 protected: |
|
77 void SizeChanged(); |
|
78 void HandleForegroundEventL( TBool aForeground ); |
|
79 private: |
|
80 CImagePrintBlankContainer* iContainer; |
|
81 }; |
|
82 #endif // CIMGPVIEWEMPTYVIEW_H |
|
83 |
|
84 // End of File |