diff -r 594d59766373 -r 7d48bed6ce0c satengine/satserver/Commands/SetUpCallCmd/inc/csetupcalldtmfsender.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/satengine/satserver/Commands/SetUpCallCmd/inc/csetupcalldtmfsender.h Tue Aug 31 15:45:17 2010 +0300 @@ -0,0 +1,88 @@ +/* +* Copyright (c) 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: Create the call and emergency call to ETelMM +* +*/ + + +#ifndef CSETUPCALLDTMFSENDER_H +#define CSETUPCALLDTMFSENDER_H + +#include + +class MSatMultiModeApi; + +NONSHARABLE_CLASS ( CSetupCallDtmfSender ) : public CActive +{ +public: + + /** + * Two-phased constructor. + * @param aPhone A reference to the MSatMultiModeApi. + * @return a pointer to the newly created object. + */ + static CSetupCallDtmfSender* NewL( MSatMultiModeApi& aPhone ); + + /** + * Destructor. + */ + virtual ~CSetupCallDtmfSender(); + + /** + * Send Dtmf string after creating a call successfully + */ + void SendDtmfString(); + + /** + * Separate Dtmf string from whole string. + * Purl tel number will return by aString. + * Dtmf string will store in data member for furture sending dtmf. + */ + void SeparateDtmfFromTelNumber( TDes& aString ); + +protected: + + /** + * From CActive, handles the request completion. + */ + void RunL(); + + /** + * From CActive, handle the request cancel + */ + void DoCancel(); + +private: + + /** + * C++ default constructor. + * @param aPhone A reference to MSatMultiModeApi. + */ + CSetupCallDtmfSender( MSatMultiModeApi& aPhone ); + +private: // Data + + /** + * Reference to the MSatMultiModeApi + */ + MSatMultiModeApi& iPhone; + + /** + * Own. Dtmf string + */ + HBufC* iDtmfString; + +}; + +#endif // CSETUPCALLDTMFSENDER_H