mpxplugins/viewplugins/views/audioeffectsview/inc/mpxaudioeffectsviewimp.h
changeset 0 ff3acec5bc43
child 15 171e07ac910f
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:  Audio Effect view class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CMPXAUDIOEFFECTSVIEWIMP_H
       
    21 #define C_CMPXAUDIOEFFECTSVIEWIMP_H
       
    22 
       
    23 
       
    24 //INCLUDES
       
    25 #include <mpxplaybackframeworkdefs.h>
       
    26 
       
    27 #include "mpxaudioeffectsview.h"
       
    28 
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CMPXAudioEffectsModel;
       
    32 class CMPXAudioEffectsViewContainer;
       
    33 class MMPXPlaybackUtility;
       
    34 class CMPXAudioEffectEngine;
       
    35 class CCustomCommandUtility;
       
    36 
       
    37 
       
    38 /**
       
    39 *  CMPXAudioEffectsViewImp, View class for audio settings 
       
    40 *  
       
    41 *  @lib mpxaudioeffectsview.dll
       
    42 *  @since Series 60 3.0
       
    43 */
       
    44 NONSHARABLE_CLASS( CMPXAudioEffectsViewImp ) : public CMPXAudioEffectsView
       
    45     {
       
    46 public:
       
    47 
       
    48     /**
       
    49     * Two-phased constructor
       
    50     *
       
    51     * @return object of constructed
       
    52     */
       
    53     static CMPXAudioEffectsViewImp* NewL();
       
    54 
       
    55     /**
       
    56     * Two-phased constructor
       
    57     *
       
    58     * @return object of constructed
       
    59     */
       
    60     static CMPXAudioEffectsViewImp* NewLC();
       
    61 
       
    62     /**
       
    63     * Destructor
       
    64     *
       
    65     */
       
    66     virtual ~CMPXAudioEffectsViewImp();
       
    67 
       
    68 protected:
       
    69     /**
       
    70      * From CAknView
       
    71      * Processes user commands.
       
    72      *
       
    73      * @since 3.0
       
    74      * @param aCommand ID of the command to respond to.
       
    75      */
       
    76     virtual void ProcessCommandL( TInt aCommand );
       
    77 
       
    78 private:
       
    79 
       
    80     /*
       
    81     *  Second-phased Constructor
       
    82     */
       
    83     void ConstructL();
       
    84     
       
    85     /*
       
    86     *  Privatre Constructor
       
    87     */
       
    88     CMPXAudioEffectsViewImp();
       
    89 
       
    90     /**
       
    91     * Change selected item
       
    92     */
       
    93     void ChangeSelectedItemL();
       
    94 
       
    95 // from CAknView
       
    96 
       
    97     /**
       
    98     * From CAknView
       
    99     */
       
   100     TUid Id() const;
       
   101     
       
   102     /**
       
   103     * From CAknView
       
   104     */
       
   105     void HandleCommandL( TInt aCommand );
       
   106     
       
   107     /**
       
   108     * From CAknView
       
   109     */    
       
   110     void DoActivateL(
       
   111         const TVwsViewId& aPrevViewId,
       
   112         TUid aCustomMessageId,
       
   113         const TDesC8& aCustomMessage );
       
   114     
       
   115     /**
       
   116     * From CAknView
       
   117     */
       
   118     void DoDeactivate();
       
   119 
       
   120 private: // data
       
   121 
       
   122     CMPXAudioEffectsViewContainer* iContainer;
       
   123     CMPXAudioEffectsModel* iModel;
       
   124     MMPXPlaybackUtility* iPlaybackUtility;  // not own
       
   125     
       
   126     TVwsViewId iPreviousView;
       
   127     TInt iResourceOffset;
       
   128     };
       
   129 
       
   130 #endif    // C_CMPXAUDIOEFFECTSVIEWIMP_H
       
   131 
       
   132 // End of File