diff -r 630d2f34d719 -r 07a122eea281 telephonyserverplugins/multimodetsy/Multimode/ETELFAX.H --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telephonyserverplugins/multimodetsy/Multimode/ETELFAX.H Wed Sep 01 12:40:21 2010 +0100 @@ -0,0 +1,61 @@ +// Copyright (c) 1997-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: +// + +/** + @file + @internalAll +*/ + +#ifndef __ETELFAX_H +#define __ETELFAX_H + +#include "et_tsy.h" +#include "faxstd.h" + +#include // new!! + +// +// CFaxCompletion class is used by Fax Server to complete functions +// +class CCallMobileFax; +class CPhoneGlobals; +class CTelObject; +class CFaxCompletion : public MFaxCompletionBase, public CBase + { +public: + CFaxCompletion(); + ~CFaxCompletion(); + +// Rx Fax + virtual void RxConnectComplete(TInt aError); + virtual void RxFaxDataComplete(TInt aError); + virtual void RxPostPageComplete(TInt aError); + +// Tx Fax + virtual void TxConnectComplete(TInt aError); + virtual void TxFaxDataComplete(TInt aError); + virtual void TxPostPageComplete(TInt aError); + + virtual void GetCadenceAndTimeOfLastRing(TTimeIntervalMicroSeconds& aCadence,TTime& aTime); +public: + void Configure(TTsyReqHandle aTsyReqHandle,CTelObject* aTelObject); + CTelObject* TelObject() const; +private: + TTsyReqHandle iTsyReqHandle; // } Used for client-side synchronous requests + CTelObject* iTelObject; // } + CCallMobileFax* iCall; + }; + +#endif