browserui/browser/BrowserAppInc/BrowserContentViewZoomModeTimer.h
branchRCL_3
changeset 65 8e6fa1719340
parent 0 84ad3b177aa3
equal deleted inserted replaced
64:6385c4c93049 65:8e6fa1719340
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Header for zoom mode timer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __BROWSERCONTENTVIEWZOOMMODETIMER_H
       
    20 #define __BROWSERCONTENTVIEWZOOMMODETIMER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32std.h>
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CBrowserContentView;
       
    27 
       
    28 /**
       
    29  * CBrowserContentViewZoomModeTimer.
       
    30  * @lib Browser.app
       
    31  * @since Series 60 5.0
       
    32  */
       
    33 class CBrowserContentViewZoomModeTimer : public CTimer 
       
    34     {
       
    35     public: //Constructors and destructor
       
    36 
       
    37         /**
       
    38         * Destructor.
       
    39         */
       
    40         ~CBrowserContentViewZoomModeTimer();
       
    41 
       
    42         /**
       
    43          * Two-phased constructor.
       
    44          */
       
    45         static CBrowserContentViewZoomModeTimer* NewL( CBrowserContentView* aBrowserContentView );
       
    46 
       
    47         /**
       
    48          * Two-phased constructor. Cleanupstack used.
       
    49          * @since       Series60 5.0
       
    50          */
       
    51         static CBrowserContentViewZoomModeTimer* NewLC( CBrowserContentView* aBrowserContentView );
       
    52 
       
    53     public: // New methods
       
    54 
       
    55         /**
       
    56         *
       
    57         *
       
    58         */
       
    59         void Start( TTimeIntervalMicroSeconds32 aPeriod );
       
    60 
       
    61         /**
       
    62         *
       
    63         *
       
    64         */
       
    65         void Restart( TTimeIntervalMicroSeconds32 aPeriod );
       
    66 
       
    67     public: // From CActive
       
    68 
       
    69         void RunL();
       
    70 
       
    71     private:
       
    72 
       
    73         /**
       
    74         * Default constructor.
       
    75         */
       
    76         CBrowserContentViewZoomModeTimer();
       
    77 
       
    78         /**
       
    79         * By default Symbian 2nd phase constructor is private.
       
    80         */
       
    81         void ConstructL( CBrowserContentView* aBrowserContentView );
       
    82 
       
    83     private:    //data
       
    84 
       
    85     CBrowserContentView* iBrowserContentView;
       
    86     };
       
    87 
       
    88 #endif //__BROWSERCONTENTVIEWZOOMMODETIMER_H
       
    89 
       
    90 // End of File