24
|
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: Photo settings view
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef GSCAMPHOTOSETTINGSVIEW_H
|
|
21 |
#define GSCAMPHOTOSETTINGSVIEW_H
|
|
22 |
|
|
23 |
// INCLUDES
|
|
24 |
#include <aknview.h>
|
|
25 |
#include <eiklbo.h>
|
|
26 |
#include <gstabbedview.h>
|
|
27 |
#include "GSCamcorderSettingsBaseView.h"
|
|
28 |
|
|
29 |
// CONSTANTS
|
|
30 |
|
|
31 |
// FORWARD DECLARATIONS
|
|
32 |
class CGSTabHelper;
|
|
33 |
class MGSTabbedView;
|
|
34 |
|
|
35 |
// CLASS DECLARATION
|
|
36 |
|
|
37 |
/**
|
|
38 |
* Image settings page view class.
|
|
39 |
* @since 2.1
|
|
40 |
*/
|
|
41 |
class CGSCamPhotoSettingsView : public CGSCamcorderSettingsBaseView,
|
|
42 |
public MGSTabbedView
|
|
43 |
|
|
44 |
{
|
|
45 |
public: // Constructors and destructor
|
|
46 |
/**
|
|
47 |
* Symbian two-phased constructor.
|
|
48 |
* @since 3.1
|
|
49 |
* @param aTabViewArray reference to tab viewarray
|
|
50 |
*/
|
|
51 |
static CGSCamPhotoSettingsView* NewLC(
|
|
52 |
CCamStaticSettingsModel& aModel,
|
|
53 |
CArrayPtrFlat<MGSTabbedView>* aTabViewArray );
|
|
54 |
|
|
55 |
/**
|
|
56 |
* Destructor.
|
|
57 |
*/
|
|
58 |
virtual ~CGSCamPhotoSettingsView();
|
|
59 |
|
|
60 |
/**
|
|
61 |
* Creates new icon for tab. Ownership is transferred to client.
|
|
62 |
* @since 3.1
|
|
63 |
*/
|
|
64 |
CGulIcon* CreateTabIconL();
|
|
65 |
|
|
66 |
|
|
67 |
private: // Functions from base classes
|
|
68 |
|
|
69 |
/**
|
|
70 |
* From CAknView returns Uid of View
|
|
71 |
* @return TUid uid of the view
|
|
72 |
*/
|
|
73 |
TUid Id() const;
|
|
74 |
|
|
75 |
/**
|
|
76 |
* From CAknView, handle commands
|
|
77 |
* @param aCommand command to be handled
|
|
78 |
*/
|
|
79 |
void HandleCommandL( TInt aCommand );
|
|
80 |
|
|
81 |
/**
|
|
82 |
* From CAknView Activate this view
|
|
83 |
* @param aPrevViewId
|
|
84 |
* @param aCustomMessageId
|
|
85 |
* @param aCustomMessage
|
|
86 |
*/
|
|
87 |
void DoActivateL( const TVwsViewId& aPrevViewId,
|
|
88 |
TUid aCustomMessageId,
|
|
89 |
const TDesC8& aCustomMessage );
|
|
90 |
|
|
91 |
/**
|
|
92 |
* From CAknView Deactivate this view
|
|
93 |
*/
|
|
94 |
void DoDeactivate();
|
|
95 |
|
|
96 |
private:
|
|
97 |
/**
|
|
98 |
* C++ default constructor.
|
|
99 |
* @since 3.1
|
|
100 |
* @param aController Reference to either the application controller base class or test base class
|
|
101 |
*/
|
|
102 |
CGSCamPhotoSettingsView( CCamStaticSettingsModel& aModel );
|
|
103 |
|
|
104 |
/**
|
|
105 |
* Symbian 2nd phase constructor.
|
|
106 |
* @since 3.1
|
|
107 |
* @param aTabViewArray reference to tab viewarray
|
|
108 |
*/
|
|
109 |
void ConstructL( CArrayPtrFlat<MGSTabbedView>* aTabViewArray );
|
|
110 |
|
|
111 |
private: // Data
|
|
112 |
CGSTabHelper* iTabHelper;
|
|
113 |
};
|
|
114 |
|
|
115 |
#endif
|
|
116 |
|
|
117 |
// End of File
|