00001 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 00002 // All rights reserved. 00003 // This component and the accompanying materials are made available 00004 // under the terms of "Eclipse Public License v1.0" 00005 // which accompanies this distribution, and is available 00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html". 00007 // 00008 // Initial Contributors: 00009 // Nokia Corporation - initial contribution. 00010 // 00011 // Contributors: 00012 // 00013 // Description: 00014 // 00015 00016 #ifndef CARDGAMETIMER_H 00017 #define CARDGAMETIMER_H 00018 00019 #include <e32base.h> 00020 00025 class CCardGameBase; 00026 00027 class CCardGameTimer : public CTimer 00028 { 00029 public: 00030 static CCardGameTimer* NewL(CCardGameBase& aParent); 00031 ~CCardGameTimer(); 00032 void RunL(); 00033 void StartTimer(TInt aDuration); 00034 00035 private: 00036 CCardGameTimer(CCardGameBase& aParent); 00037 void ConstructL(); 00038 00039 private: 00040 CCardGameBase& iParent; 00041 00042 }; 00043 00044 #endif // CARDGAMETIMER_H