mpxplugins/viewplugins/views/audioeffectsview/inc/mpxaudioeffectsviewimp.h
changeset 0 ff3acec5bc43
child 15 171e07ac910f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mpxplugins/viewplugins/views/audioeffectsview/inc/mpxaudioeffectsviewimp.h	Thu Dec 17 08:45:05 2009 +0200
@@ -0,0 +1,132 @@
+/*
+* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Audio Effect view class.
+*
+*/
+
+
+
+#ifndef C_CMPXAUDIOEFFECTSVIEWIMP_H
+#define C_CMPXAUDIOEFFECTSVIEWIMP_H
+
+
+//INCLUDES
+#include <mpxplaybackframeworkdefs.h>
+
+#include "mpxaudioeffectsview.h"
+
+
+// FORWARD DECLARATIONS
+class CMPXAudioEffectsModel;
+class CMPXAudioEffectsViewContainer;
+class MMPXPlaybackUtility;
+class CMPXAudioEffectEngine;
+class CCustomCommandUtility;
+
+
+/**
+*  CMPXAudioEffectsViewImp, View class for audio settings 
+*  
+*  @lib mpxaudioeffectsview.dll
+*  @since Series 60 3.0
+*/
+NONSHARABLE_CLASS( CMPXAudioEffectsViewImp ) : public CMPXAudioEffectsView
+    {
+public:
+
+    /**
+    * Two-phased constructor
+    *
+    * @return object of constructed
+    */
+    static CMPXAudioEffectsViewImp* NewL();
+
+    /**
+    * Two-phased constructor
+    *
+    * @return object of constructed
+    */
+    static CMPXAudioEffectsViewImp* NewLC();
+
+    /**
+    * Destructor
+    *
+    */
+    virtual ~CMPXAudioEffectsViewImp();
+
+protected:
+    /**
+     * From CAknView
+     * Processes user commands.
+     *
+     * @since 3.0
+     * @param aCommand ID of the command to respond to.
+     */
+    virtual void ProcessCommandL( TInt aCommand );
+
+private:
+
+    /*
+    *  Second-phased Constructor
+    */
+    void ConstructL();
+    
+    /*
+    *  Privatre Constructor
+    */
+    CMPXAudioEffectsViewImp();
+
+    /**
+    * Change selected item
+    */
+    void ChangeSelectedItemL();
+
+// from CAknView
+
+    /**
+    * From CAknView
+    */
+    TUid Id() const;
+    
+    /**
+    * From CAknView
+    */
+    void HandleCommandL( TInt aCommand );
+    
+    /**
+    * From CAknView
+    */    
+    void DoActivateL(
+        const TVwsViewId& aPrevViewId,
+        TUid aCustomMessageId,
+        const TDesC8& aCustomMessage );
+    
+    /**
+    * From CAknView
+    */
+    void DoDeactivate();
+
+private: // data
+
+    CMPXAudioEffectsViewContainer* iContainer;
+    CMPXAudioEffectsModel* iModel;
+    MMPXPlaybackUtility* iPlaybackUtility;  // not own
+    
+    TVwsViewId iPreviousView;
+    TInt iResourceOffset;
+    };
+
+#endif    // C_CMPXAUDIOEFFECTSVIEWIMP_H
+
+// End of File