diff -r 35488577e233 -r 2fa1fa551b0b satengine/SatServer/Commands/SendDtmfCmd/inc/csatdtmfsender.h --- a/satengine/SatServer/Commands/SendDtmfCmd/inc/csatdtmfsender.h Mon Aug 23 15:50:31 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,89 +0,0 @@ -/* -* Copyright (c) 2006-2008 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: DTMF sender for SendDtmf command -* -*/ - - - -#ifndef CSATDTMFSENDER_H -#define CSATDTMFSENDER_H - -#include - -// CLASS DECLARATION -class CSendDtmfHandler; -class MSatMultiModeApi; - -/** - * DTMF sender for SendDtmf command. - * - * @lib SendDtmfCmd.lib - * @since S60 3.2 - */ -class CSatDtmfSender : public CActive - { - -public: // Constructors and destructor - - /** - * C++ default constructor. - * @param aDtmfHandler Observes completion of DTMF sending - * @param aPhone API for sending DTMF strings. - */ - CSatDtmfSender( CSendDtmfHandler& aDtmfHandler, - MSatMultiModeApi& aPhone ); - - /** - * Destructor. - */ - virtual ~CSatDtmfSender(); - - /** - * Transmit DTMF tones across all the current active voice calls. - * @since S60 3.2 - * @param aTones The string of DTMF characters. - */ - void SendToneString( const TDesC& aTones ); - -protected: - - /** - * From CActive. - * Called when request status given SetActiveAndWait completes - */ - void RunL(); - - /** - * From CActive. - * Called when request is cancelled - */ - void DoCancel(); - -private: // Data - - /** - * Observer of the DTMF sending. - */ - CSendDtmfHandler& iDtmfHandler; - - /** - * API used for sending DTMF string to adaptation. - */ - MSatMultiModeApi& iPhone; - - }; - -#endif // CSATDTMFSENDER_H -