diff -r 3104fc151679 -r 9a48e301e94b uiservicetab/vimpstui/inc/cvimpstuistatuspanehandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiservicetab/vimpstui/inc/cvimpstuistatuspanehandler.h Wed Sep 01 12:33:36 2010 +0100 @@ -0,0 +1,131 @@ +/* +* Copyright (c) 2008 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: Tabbed view declaration +* +*/ + +#ifndef CVIMPSTUISTATUSPANEHANDLER_H +#define CVIMPSTUISTATUSPANEHANDLER_H + +// INCLUDES +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +// CLASS DECLARATION + +/** + * CCVIMPSTUiStatusPaneHandler + * + */ +class CCVIMPSTUiStatusPaneHandler : public CBase + { +public: + // Constructors and destructor + + /** + * Destructor. + */ + ~CCVIMPSTUiStatusPaneHandler(); + + /** + * Two-phased constructor. + */ + static CCVIMPSTUiStatusPaneHandler* NewL(); + + /** + * Two-phased constructor. + */ + static CCVIMPSTUiStatusPaneHandler* NewLC(); + + /** + * Function to set picture on the status pane + */ + void SetPictureL( CFbsBitmap *aBitmap, CFbsBitmap *aMask, TBool aNaviPush = EFalse); + + /** + * Function to set text on the status pane + */ + void SetTextL( const TDesC& aText ); + + /** + * Function to clear the icon on the Status Pane. + */ + void ClearPaneL(); + +private: + + /** + * Constructor for performing 1st stage construction + */ + CCVIMPSTUiStatusPaneHandler(); + + /** + * EPOC default constructor for performing 2nd stage construction + */ + void ConstructL(); + + + +private: + + /** + * not owned. Handle to the environment + */ + CEikonEnv* iEnv; + + /** + * not owned, Handle to the environment + */ + CEikStatusPane* iStatusPane; + + /** + * not owned Handle to the environment + */ + CAknTitlePane* iTitlePane; + + /** + * not owned. Handle to the environment + */ + CAknContextPane* iContextPane; + + /** + * not owned. Handle to the environment + */ + CAknNavigationControlContainer* iNaviPane; + + /** + * Decorator pointer to decorate the navi pane. + */ + CAknNavigationDecorator* iNaviDeco; + + /** + * Variable to know if the iNaviDeco is pushed on the navi pane. + */ + TBool iNaviPush; + }; +#endif // CVIMPSTUISTATUSPANEHANDLER_H + +//END OF FILE. +