54
|
1 |
/*
|
|
2 |
* Copyright (c) 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: Ensures that the container for the user scene setup is constructed*
|
|
15 |
*/
|
|
16 |
|
|
17 |
|
|
18 |
#ifndef CAMSTILLUSERSCENESETUPVIEW_H
|
|
19 |
#define CAMSTILLUSERSCENESETUPVIEW_H
|
|
20 |
|
|
21 |
// INCLUDES
|
|
22 |
#include "CamUserSceneSetupViewBase.h"
|
|
23 |
|
|
24 |
// FORWARD DECLARATIONS
|
|
25 |
|
|
26 |
// CLASS DECLARATION
|
|
27 |
class CCamAppController;
|
|
28 |
|
|
29 |
/**
|
|
30 |
* Ensures that the container for the user scene setup is constructed
|
|
31 |
* using the photo user scene setup resource.
|
|
32 |
*
|
|
33 |
* @since 2.8
|
|
34 |
*/
|
|
35 |
class CCamStillUserSceneSetupView : public CCamUserSceneSetupViewBase
|
|
36 |
{
|
|
37 |
protected: // data types
|
|
38 |
|
|
39 |
|
|
40 |
public: // Constructors and destructor
|
|
41 |
|
|
42 |
/**
|
|
43 |
* Two-phased constructor.
|
|
44 |
* @since 2.8
|
|
45 |
* @param A reference to the controller.
|
|
46 |
* @return A pointer to the new CCamStillUserSceneSetupView object.
|
|
47 |
*/
|
|
48 |
static CCamStillUserSceneSetupView* NewLC( CCamAppController& aController );
|
|
49 |
|
|
50 |
/**
|
|
51 |
* Destructor.
|
|
52 |
* @since 2.8
|
|
53 |
*/
|
|
54 |
virtual ~CCamStillUserSceneSetupView();
|
|
55 |
|
|
56 |
public: // Functions from base classes
|
|
57 |
/**
|
|
58 |
* From CAknView.
|
|
59 |
* @since 2.8
|
|
60 |
* @return UID of view
|
|
61 |
*/
|
|
62 |
TUid Id() const;
|
|
63 |
|
|
64 |
protected: // Constructors etc.
|
|
65 |
|
|
66 |
|
|
67 |
protected: // From base class
|
|
68 |
|
|
69 |
void CreateContainerL();
|
|
70 |
/**
|
|
71 |
* Starts the view finder.
|
|
72 |
* @since 2.8
|
|
73 |
*/
|
|
74 |
void StartViewFinder();
|
|
75 |
|
|
76 |
/**
|
|
77 |
* Stops the view finder.
|
|
78 |
* @since 2.8
|
|
79 |
*/
|
|
80 |
void StopViewFinder();
|
|
81 |
|
|
82 |
/**
|
|
83 |
* Exit capture setup mode.
|
|
84 |
* @since 2.8
|
|
85 |
*/
|
|
86 |
void ExitCaptureSetupModeL();
|
|
87 |
|
|
88 |
/**
|
|
89 |
* From CCamCaptureSetupViewBase
|
|
90 |
* Enter InfoListBox mode
|
|
91 |
* Creates a container to replace the normal container on the control stack.
|
|
92 |
* Updates the Cba, title pane and navi pane.
|
|
93 |
* @param aMode
|
|
94 |
* @since 3.0
|
|
95 |
*/
|
|
96 |
void SwitchToInfoListBoxL( TCamInfoListBoxMode aMode, TBool aFullySkinned=EFalse );
|
|
97 |
|
|
98 |
/**
|
|
99 |
* From CCamCaptureSetupViewBase
|
|
100 |
* Handle InfoListBox item selection
|
|
101 |
* Updates the Cba, title pane and navi pane.
|
|
102 |
* @since 3.0
|
|
103 |
*/
|
|
104 |
void HandleInfoListBoxSelectionL();
|
|
105 |
|
|
106 |
/**
|
|
107 |
* From MEikMenuObserver Changes MenuPane dynamically
|
|
108 |
* @param aResourceId Resource Id
|
|
109 |
* @param aMenuPane Handle to menu pane
|
|
110 |
* @since 2.8
|
|
111 |
*/
|
|
112 |
void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
|
|
113 |
|
|
114 |
private:
|
|
115 |
/**
|
|
116 |
* C++ default constructor.
|
|
117 |
* @param aController Reference to either the application controller
|
|
118 |
* base class or test base class
|
|
119 |
* @since 2.8
|
|
120 |
*/
|
|
121 |
CCamStillUserSceneSetupView( CCamAppController& aController );
|
|
122 |
|
|
123 |
/**
|
|
124 |
* 2nd phase constructor.
|
|
125 |
* @since 2.8
|
|
126 |
*/
|
|
127 |
void ConstructL();
|
|
128 |
|
|
129 |
private: // From base class
|
|
130 |
/**
|
|
131 |
* Exits the user scene setup mode
|
|
132 |
* @since 2.8
|
|
133 |
*/
|
|
134 |
void ExitUserSceneSetupModeL();
|
|
135 |
|
|
136 |
/**
|
|
137 |
* Switches to the user scene setup mode.
|
|
138 |
* @since 2.8
|
|
139 |
*/
|
|
140 |
void SwitchToUserSceneSetupModeL();
|
|
141 |
|
|
142 |
|
|
143 |
/**
|
|
144 |
* Switches the current mode to scene setting.
|
|
145 |
* @since 2.8
|
|
146 |
*/
|
|
147 |
void SwitchToSceneSettingModeL();
|
|
148 |
|
|
149 |
/**
|
|
150 |
* Exit scene setting mode.
|
|
151 |
* @since 2.8
|
|
152 |
*/
|
|
153 |
void ExitSceneSettingModeL();
|
|
154 |
|
|
155 |
|
|
156 |
private: // data
|
|
157 |
};
|
|
158 |
|
|
159 |
#endif // CAMSTILLUSERSCENESETUPVIEW_H
|
|
160 |
|
|
161 |
// End of File
|