diff -r 6385c4c93049 -r 8e6fa1719340 browserui/browser/BrowserAppInc/BrowserContentViewZoomModeTimer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/browserui/browser/BrowserAppInc/BrowserContentViewZoomModeTimer.h Wed Sep 01 12:31:04 2010 +0100 @@ -0,0 +1,90 @@ +/* +* 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 the License "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: Header for zoom mode timer +* +*/ + + +#ifndef __BROWSERCONTENTVIEWZOOMMODETIMER_H +#define __BROWSERCONTENTVIEWZOOMMODETIMER_H + +// INCLUDES +#include + +// FORWARD DECLARATIONS +class CBrowserContentView; + +/** + * CBrowserContentViewZoomModeTimer. + * @lib Browser.app + * @since Series 60 5.0 + */ +class CBrowserContentViewZoomModeTimer : public CTimer + { + public: //Constructors and destructor + + /** + * Destructor. + */ + ~CBrowserContentViewZoomModeTimer(); + + /** + * Two-phased constructor. + */ + static CBrowserContentViewZoomModeTimer* NewL( CBrowserContentView* aBrowserContentView ); + + /** + * Two-phased constructor. Cleanupstack used. + * @since Series60 5.0 + */ + static CBrowserContentViewZoomModeTimer* NewLC( CBrowserContentView* aBrowserContentView ); + + public: // New methods + + /** + * + * + */ + void Start( TTimeIntervalMicroSeconds32 aPeriod ); + + /** + * + * + */ + void Restart( TTimeIntervalMicroSeconds32 aPeriod ); + + public: // From CActive + + void RunL(); + + private: + + /** + * Default constructor. + */ + CBrowserContentViewZoomModeTimer(); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL( CBrowserContentView* aBrowserContentView ); + + private: //data + + CBrowserContentView* iBrowserContentView; + }; + +#endif //__BROWSERCONTENTVIEWZOOMMODETIMER_H + +// End of File