# examples/Telephony/ETel3rdPartyExample/IncomingCalls/CCallBarringStatus.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 __CCALLBARRINGSTATUS_H__
    00017 #define __CCALLBARRINGSTATUS_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
    00031 class CCallBarringStatus : public CISVAPIAsync
    00032         {
    00033
    00034 // Methods
    00035 public:
    00036         static CCallBarringStatus* NewL(MExecAsync* aController);
    00037         ~CCallBarringStatus();
    00038
    00039         void DoStartRequestL();
    00040
    00041 private:
    00042         CCallBarringStatus(MExecAsync* aController);
    00043         void ConstructL();
    00044
    00045         void RunL();
    00046         void DoCancel();
    00047
    00048 // Data
    00049 public:
    00054         CTelephony::TCallBarringSupplServicesV1 iCallBarringStatusV1;
    00055
    00056 private:
    00060         CTelephony::TCallBarringSupplServicesV1Pckg iCallBarringStatusV1Pckg;
    00061         };
    00062
    00063 #endif // __CCALLBARRINGSTATUS_H__