videditor/ManualVideoEditor/inc/VeiSettingsView.h
author Mikael Laine <mikael.laine@ixonos.com>
Fri, 29 Jan 2010 14:08:33 +0200
changeset 0 951a5db380a0
permissions -rw-r--r--
Committing the Video Editor package under the Eclipse Public License

/*
* Copyright (c) 2010 Ixonos Plc.
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the "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:
* Ixonos Plc
*
* Description:  
*
*/


#ifndef VEISETTINGSVIEW_H
#define VEISETTINGSVIEW_H

// INCLUDES
// System includes
#include <aknview.h>        // CAknView
// User includes
#include "VeiSettings.h"    // TVeiSettings

// FORWARD DECLARATIONS
class CVeiSettingsContainer;

// CLASS DECLARATION

/**
 * CVeiSettingsView view class.
 */
class CVeiSettingsView: public CAknView
{
public:
    // Constructors and destructor

    /**
     * Two-phased constructor.
     */
    static CVeiSettingsView* NewL();

    /**
     * Two-phased constructor.
     */
    static CVeiSettingsView* NewLC();

    /**
     * Destructor.
     */
    ~CVeiSettingsView();

public:
    // From CAknView

    /**
     * 
     */
    TUid Id()const;

    /**
     * 
     */
    void HandleCommandL( TInt aCommand );

    /**
     *  
     */
    void HandleClientRectChange();

private:
    // From CAknView

    /**
     * From AknView
     */
    void DoActivateL( const TVwsViewId& aPrevViewId, TUid aCustomMessageId,
                     const TDesC8& aCustomMessage );

    /**
     * From AknView
     */
    void DoDeactivate();

private:

    /**
     * C++ default constructor.
     */
    CVeiSettingsView();

    /**
     * Symbian 2nd phase constructor.
     */
    void ConstructL();

private:
    // Data

    /** 
     * Container. 
     */
    CVeiSettingsContainer* iContainer;

    /**
     * 
     */
    TVeiSettings iSettings;

    /**
     * Store the original orientation when forcing to portrait
     */
    //CAknAppUiBase::TAppUiOrientation iOriginalOrientation;
};

#endif 

// End of Files