diff -r 5e7d68cc22e0 -r 0818dd463d41 coreapplicationuis/Rfs/inc/rfsConTimer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/coreapplicationuis/Rfs/inc/rfsConTimer.h Thu Aug 19 10:05:08 2010 +0300 @@ -0,0 +1,58 @@ +/* +* Copyright (c) 2006-2010 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: +* +*/ + + +#ifndef __RFSCONTIMER_H +#define __RFSCONTIMER_H + +#include +#include +#include + +#include "rfsConnectionObserver.h" + +class CRfsConnectionObserver; + +class CRfsConTimer : public CActive + { + private: + + CRfsConTimer(CRfsConnectionObserver * aRfsConnectionObserver); // Construction + + + +public: + + static CRfsConTimer* CRfsConTimer::NewL(CRfsConnectionObserver * aRfsConnectionObserver); + ~CRfsConTimer(); // Destruction + void IssueTimerRequest(); // issue request + +protected: + void DoCancel(); // Cancel request + void RunL(); // service completed request. + +public: + + RTimer iTimer; // Asynchronous service provider. + CRfsConnectionObserver* iRfsConnectionObserver; + +private: // friend classes + + friend class CRfsConnectionObserver; + }; + +#endif //__RFSCONTIMER_H