telephonyserverplugins/multimodetsy/Multimode/ETELFAX.H
branchRCL_3
changeset 20 07a122eea281
parent 0 3553901f7fa8
equal deleted inserted replaced
19:630d2f34d719 20:07a122eea281
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalAll 
       
    19 */
       
    20 
       
    21 #ifndef __ETELFAX_H
       
    22 #define __ETELFAX_H
       
    23 
       
    24 #include "et_tsy.h"
       
    25 #include "faxstd.h"
       
    26 
       
    27 #include <faxserv.h>	// new!!
       
    28 
       
    29 //
       
    30 //	CFaxCompletion class is used by Fax Server to complete functions
       
    31 //
       
    32 class CCallMobileFax;
       
    33 class CPhoneGlobals;
       
    34 class CTelObject;
       
    35 class CFaxCompletion : public MFaxCompletionBase, public CBase
       
    36 	{
       
    37 public:
       
    38 	CFaxCompletion();
       
    39 	~CFaxCompletion();
       
    40 
       
    41 // Rx Fax
       
    42 	virtual void RxConnectComplete(TInt aError);
       
    43 	virtual void RxFaxDataComplete(TInt aError);
       
    44 	virtual void RxPostPageComplete(TInt aError);
       
    45 
       
    46 // Tx Fax
       
    47 	virtual void TxConnectComplete(TInt aError);
       
    48 	virtual void TxFaxDataComplete(TInt aError);
       
    49 	virtual void TxPostPageComplete(TInt aError);
       
    50 
       
    51 	virtual void GetCadenceAndTimeOfLastRing(TTimeIntervalMicroSeconds& aCadence,TTime& aTime);
       
    52 public:
       
    53 	void Configure(TTsyReqHandle aTsyReqHandle,CTelObject* aTelObject);
       
    54 	CTelObject* TelObject() const;
       
    55 private:
       
    56 	TTsyReqHandle iTsyReqHandle;	//	}	Used for client-side synchronous requests
       
    57 	CTelObject* iTelObject;			//	}
       
    58 	CCallMobileFax* iCall;
       
    59 	};
       
    60 
       
    61 #endif