# examples/Telephony/ETel3rdPartyExample/OutgoingCalls/CCallStatus.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 #ifndef __CCALLSTATUS_H_
    00017 #define __CCALLSTATUS_H_
    00018
    00019 #include <e32base.h>
    00020 #include <e32cons.h>
    00021 #include <e32def.h>
    00022 #include <etel3rdparty.h>
    00023
    00024 #include "CISVAPIAsync.h"
    00025
    00026 #include "CMainMenu.h"
    00027
    00032 class CCallStatus : public CISVAPIAsync
    00033         {
    00034
    00035 // Methods
    00036 public:
    00037         static CCallStatus* NewL(MExecAsync* aController, CTelephony::TCallId aCallId);
    00038         ~CCallStatus();
    00039
    00040         void DoStartRequestL();
    00041         void DoRequestNotificationL();
    00042
    00043 private:
    00044         CCallStatus(MExecAsync* aController, CTelephony::TCallId aCallId);
    00045         void ConstructL();
    00046
    00047         void RunL();
    00048         void DoCancel();
    00049
    00050 // Data
    00051 public:
    00055         CTelephony::TCallStatusV1 iCallStatusV1;
    00059         CTelephony::TCallId iCallId;
    00060
    00061 private:
    00065         CTelephony::TCallStatusV1Pckg iCallStatusV1Pckg;
    00066
    00067         };
    00068
    00069 #endif // __CCALLSTATUS_H_