mmlibs/mmfw/tsrc/mmvalidationsuite/mmvalidationsuiteapp/inc/MVSViewTicker.h
changeset 0 b8ed18f6c07b
equal deleted inserted replaced
-1:000000000000 0:b8ed18f6c07b
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // CMVSViewTicker.h
       
    15 // Part of the MVS Application for TechView
       
    16 //
       
    17 
       
    18 #ifndef CMVSVIEWTICKER_H
       
    19 #define CMVSVIEWTICKER_H
       
    20 
       
    21 
       
    22 #include "MVSAppUI.h"
       
    23 
       
    24 class CMVSViewTicker
       
    25 	{
       
    26 public:
       
    27     //Create a new ticker
       
    28 	static CMVSViewTicker* NewL(CMVSAppUi* aAppUi);
       
    29 	~CMVSViewTicker();
       
    30 
       
    31 private:
       
    32     //Overriden 'tick' method, causes a callback.
       
    33 	static TInt Tick(TAny* aObject);
       
    34 	CMVSViewTicker(CMVSAppUi* aAppUi);
       
    35 	void ConstructL();
       
    36 
       
    37 private:
       
    38 	CPeriodic* iPeriodic;
       
    39     CMVSAppUi* iAppUi;
       
    40 	TInt	iTickInterval; //The 'tick' interval.
       
    41 	};
       
    42 
       
    43 #endif CMVSVIEWTICKER_H