/*
* Copyright (c) 2009 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:  Sets the default navipane in construct phase and 
*               pops it back in destruct.
*
*/
#ifndef TNAVIPANECLEARER_H
#define TNAVIPANECLEARER_H

// INCLUDES
#include <e32def.h>

// FORWARD DECLARATIONS
class CAknNavigationControlContainer;

// CLASS DECLARATIONS

class TNavipaneClearer
    {
    public:
        TNavipaneClearer();
        ~TNavipaneClearer();
        
    private:
        /// Ref: Navi container reference
        CAknNavigationControlContainer* iNaviContainer;
        /// Own: Error indicator, indicates whether the 
        ///     navicontainer is initialized fully or not.
        TBool iFullyInitialized;
    };

#endif // TNAVIPANECLEARER_H

// End of file
