profilesapplication/Profiles/ProfileApp/SettingsViewSrc/CProfileFeedbackSettingPage.h
branchRCL_3
changeset 19 cd54903d48da
parent 0 ca436256272f
equal deleted inserted replaced
18:b7fa36b488f8 19:cd54903d48da
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Setting page class for Feedback settings.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CPROFILEFEEDBACKSETTINGPAGE_H
       
    21 #define CPROFILEFEEDBACKSETTINGPAGE_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <aknpopupsettingpage.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CFLDController;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 /**
       
    31 *  Setting page class for Feedback settings.
       
    32 *  CProfileFeedbackSettingPage extends CAknPopupSettingPage.
       
    33 *
       
    34 *  @lib ProfileSettingsView.lib
       
    35 *  @since 5.0
       
    36 */
       
    37 NONSHARABLE_CLASS( CProfileFeedbackSettingPage ) : public CAknPopupSettingPage
       
    38 	{
       
    39 	public:		// Constructors and destructor
       
    40 
       
    41         /**
       
    42         * C++ constructor.
       
    43         * @param aResourceID Setting page resource ID.
       
    44         * @param aQueryValue
       
    45         * @param aIdentifier Setting item identifier.
       
    46         */
       
    47 		CProfileFeedbackSettingPage(
       
    48 			TInt aResourceID,
       
    49 			MAknQueryValue& aQueryValue,
       
    50 			TInt aIdentifier );
       
    51 
       
    52         /**
       
    53         * Symbian 2nd phase constructor.
       
    54         */
       
    55 		void ConstructL();
       
    56 
       
    57 		/**
       
    58 		* Destructor.
       
    59 		*/
       
    60 		~CProfileFeedbackSettingPage();
       
    61 
       
    62 	private:	// Functions from base classes
       
    63 
       
    64         /**
       
    65         * From CCoeControl
       
    66         */
       
    67 		TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
       
    68 		void HandlePointerEventL(const TPointerEvent& aPointerEvent);
       
    69 
       
    70         /**
       
    71         * From CAknSettingPage
       
    72         */
       
    73 		TBool OkToExitL( TBool aAccept );
       
    74 
       
    75 	private:	// New functions
       
    76 	
       
    77 
       
    78 	private:	// Data
       
    79 
       
    80         // Setting item identifier
       
    81         TInt iIdentifier;
       
    82 
       
    83         // Temporary setting value
       
    84         TInt iTempValue;
       
    85 
       
    86 	};
       
    87 
       
    88 #endif // CPROFILEFEEDBACKSETTINGPAGE_H
       
    89 
       
    90 // End of File