diff -r 71ca22bcf22a -r 5a06f39ad45b mmserv/tms/tmsserver/inc/tmsdtmfeventhandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmserv/tms/tmsserver/inc/tmsdtmfeventhandler.h Fri Apr 16 15:29:42 2010 +0300 @@ -0,0 +1,77 @@ +/* + * Copyright (c) 2009 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: Telephony Multimedia Service + * + */ + +#ifndef DTMFEVENTHANDLER_H +#define DTMFEVENTHANDLER_H + +// INCLUDES +#include +#include +#include "tmsserver.h" + +namespace TMS { + +// CLASS DECLARATION +class TMSDtmfEventHandler : public CActive + { +public: + /** + * Two-phased constructor. + */ + static TMSDtmfEventHandler* NewL(TMSServer* aServer); + + /** + * Destructor. + */ + virtual ~TMSDtmfEventHandler(); + +private: + /** + * From CActive + * Cancel outstanding request + */ + void DoCancel(); + + /** + * From CActive + * Implementation of CActive::RunL. + * Called when server request has completed. + */ + void RunL(); + +private: + + /** + * C++ default constructor. + */ + TMSDtmfEventHandler(TMSServer* aServer); + + /** + * By default Symbian 2nd phase constructor is private. + */ + void ConstructL(); + +private: + TMSServer* iTMSSer; + RProperty iProperty; + }; + +} //namespace TMS + +#endif // DTMFEVENTHANDLER_H + +// End of File