mpxplugins/viewplugins/views/audioeffectsview/inc/mpxaudioeffectsitems.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2006 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 List.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MPXAUDIOEFFECTSITEMS_H
       
    20 #define MPXAUDIOEFFECTSITEMS_H
       
    21 
       
    22 
       
    23 // INCLUDES
       
    24 
       
    25 // SYSTEM INCLUDES
       
    26  
       
    27 #include <aknsettingpage.h> 
       
    28 #include <akntextsettingpage.h> 
       
    29 #include <aknsettingitemlist.h> // CAknSettingItemList
       
    30 #include <AknQueryDialog.h> 
       
    31 
       
    32 // USER INCLUDES
       
    33 #include "mpxaudioeffectsmodel.h"
       
    34 #include "mpxaudioeffects.hrh"
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 class CAknSettingItem;
       
    38 class CAknSliderSettingPage;
       
    39 class CMPXAudioEffectsModel;
       
    40 
       
    41 // CLASS DECLARATION
       
    42 
       
    43 /**
       
    44 *
       
    45 * @class	CMPXAudioEffectsItems 
       
    46 * @brief	This is the SettingItemList class for a setting list based on the
       
    47 * standard Symbian OS architecture.    
       
    48 */
       
    49 NONSHARABLE_CLASS(CMPXAudioEffectsItems) : public CAknSettingItemList, 
       
    50                                            public MAknSettingPageObserver
       
    51 	{
       
    52 public: // Constructors and destructor
       
    53 
       
    54     /**
       
    55     *  Constructor
       
    56     */
       
    57 	CMPXAudioEffectsItems(CMPXAudioEffectsModel* aModel);
       
    58 	
       
    59 	/**
       
    60 	* Virtual destructor
       
    61 	*/
       
    62 	virtual ~CMPXAudioEffectsItems();
       
    63 	
       
    64 private: 
       
    65     /*
       
    66     * From MAknSettingPageObserver
       
    67     */
       
    68 	void HandleSettingPageEventL(CAknSettingPage* aSettingPage,
       
    69 	                             TAknSettingPageEvent aEventType);
       
    70 	
       
    71 	/*
       
    72     * From CAknSettingItemList
       
    73     */
       
    74 	CAknSettingItem* CreateSettingItemL(TInt identifier);
       
    75 	
       
    76 	/*
       
    77     * From CAknSettingItemList
       
    78     */
       
    79 	void EditItemL (TInt aIndex, TBool aCalledFromMenu);
       
    80 	
       
    81 public:// members
       
    82 
       
    83     /*
       
    84     * ChangeSelectedItem()
       
    85     * Modifys the current list box selection
       
    86     */
       
    87 	void ChangeSelectedItemL();
       
    88 	
       
    89 private: 
       
    90     /**
       
    91     * From CAknSettingItemList
       
    92     */
       
    93 	void SizeChanged();
       
    94 
       
    95 private: // New functions
       
    96 
       
    97     /*
       
    98     *  Sets the text for the balance slider item
       
    99     */
       
   100     void SetBalanceTextL( CAknSliderSettingPage* slider );
       
   101     
       
   102 private: // member data
       
   103 	CMPXAudioEffectsModel* iModel;
       
   104 	CArrayPtr<CGulIcon>* iIconArray;
       
   105 	};
       
   106 
       
   107 #endif // MPXAUDIOEFFECTSITEMS_H
       
   108 
       
   109 // End of File