/*
* Copyright (c) 2002 - 2007 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:  
*
*/

#ifndef C_TESTDOMPSLNFWAPPUI_H
#define C_TESTDOMPSLNFWAPPUI_H

#include <aknviewappui.h>

class CTestPslnFWBaseView;

class CTestDOMPslnFWAppUi : public CAknViewAppUi
    {
public: 
    // constructor and destructor
    CTestDOMPslnFWAppUi();
    virtual ~CTestDOMPslnFWAppUi();
    /**
     * Symbian 2nd static constructor
     */
    void ConstructL();

public:
    // from CCoeAppUi
    TKeyResponse HandleKeyEventL(
                const TKeyEvent& aKeyEvent,
                TEventCode aType );

    // from CEikAppUi
    void HandleCommandL( TInt aCommand );
    void HandleResourceChangeL( TInt aType );

    // from CAknAppUi
    void HandleViewDeactivation( 
            const TVwsViewId& aViewIdToBeDeactivated, 
            const TVwsViewId& aNewlyActivatedViewId );

private:
    void InitializeContainersL();

private: 
    CTestPslnFWBaseView* iFWBView;
    };

#endif /*C_TESTDOMPSLNFWAPPUI_H*/
