examples/Telephony/ETel3rdPartyExample/IncomingCalls/CAnswerIncomingCall.h

00001 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 
00017 #ifndef __CANSWERINCOMINGCALL_H__
00018 #define __CANSWERINCOMINGCALL_H__
00019 
00020 #include <e32base.h>
00021 #include <e32cons.h>
00022 #include <e32def.h>
00023 #include <etel3rdparty.h>
00024 
00025 #include "CISVAPIAsync.h"
00026 
00027 #include "CMainMenu.h"
00028 
00032 class CAnswerIncomingCall : public CISVAPIAsync
00033         {
00034         // Methods
00035 public:
00036         static CAnswerIncomingCall* NewL(MExecAsync* aController);
00037         ~CAnswerIncomingCall();
00038 
00039         void DoStartRequestL();
00040 
00041 private:
00042         CAnswerIncomingCall(MExecAsync* aController);
00043         void ConstructL();
00044 
00045         void RunL();
00046         void DoCancel();
00047 
00048         // Data
00049 public:
00053         CTelephony::TCallId iCallId;
00057         CTelephony::TCallStatusV1 iCallStatusV1;
00058 
00059 private:
00063         CTelephony::TCallStatusV1Pckg iCallStatusV1Pckg;
00064         };
00065 
00066 #endif // __CANSWERINCOMINGCALL_H__

Generated by  doxygen 1.6.2