|
1 /* |
|
2 * Copyright (c) 2006, 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: Header file for imageprintuidocument |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef IMAGEPRINTUIDOCUMENT_H |
|
21 #define IMAGEPRINTUIDOCUMENT_H |
|
22 |
|
23 #include <akndoc.h> |
|
24 #include <pictbridge.h> |
|
25 #include <e32cmn.h> |
|
26 #include <AiwGenericParam.h> |
|
27 #include <GenericParamConsumer.h> |
|
28 #include <badesca.h> |
|
29 |
|
30 |
|
31 |
|
32 // FORWARD DECLARATIONS |
|
33 class CEikAppUi; |
|
34 class CImagePrintUiEngine; |
|
35 /** |
|
36 * |
|
37 * S60 document class |
|
38 */ |
|
39 class CImagePrintUiDocument : public CAknDocument |
|
40 { |
|
41 |
|
42 public: |
|
43 |
|
44 /** |
|
45 * Factory method NewL |
|
46 * @param aApp refernce to CEikApplication class |
|
47 * @return The new object. |
|
48 */ |
|
49 static CImagePrintUiDocument* NewL(CEikApplication& aApp); |
|
50 |
|
51 /** |
|
52 * Destructor. |
|
53 */ |
|
54 virtual ~CImagePrintUiDocument(); |
|
55 |
|
56 |
|
57 private: |
|
58 |
|
59 /** |
|
60 * Default contructor |
|
61 */ |
|
62 CImagePrintUiDocument(CEikApplication& aApp); |
|
63 |
|
64 /** |
|
65 * Default contructor that may leave. |
|
66 */ |
|
67 void ConstructL(); |
|
68 |
|
69 |
|
70 private: // From base class CAknDocument |
|
71 |
|
72 /** |
|
73 * Returns AppUi class |
|
74 * @return Initialized instance of CEikAppUi |
|
75 */ |
|
76 CEikAppUi* CreateAppUiL(); |
|
77 |
|
78 |
|
79 public: // New methods |
|
80 |
|
81 /** |
|
82 * Returns Engine |
|
83 * @Return PictBridge Engine |
|
84 */ |
|
85 CDpsEngine* Engine(); |
|
86 |
|
87 private: // data |
|
88 |
|
89 // Instance to the engine of this application, own |
|
90 CDpsEngine* iEngine; |
|
91 }; |
|
92 |
|
93 #endif // C_IMAGEPRINTUIDOCUMENT_H |