# examples/Telephony/ETel3rdPartyExample/SuppleServices/CFlightModeInfo.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 __CFLIGHTMODEINFO_H__
    00018 #define __CFLIGHTMODEINFO_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 CFlightModeInfo : public CISVAPIAsync
    00033         {
    00034
    00035 // Methods
    00036 public:
    00037         static CFlightModeInfo* NewL(MExecAsync* aController);
    00038         ~CFlightModeInfo();
    00039
    00040         void DoStartRequestL();
    00041         void DoRequestNotificationL();
    00042 private:
    00043         CFlightModeInfo(MExecAsync* aController);
    00044         void ConstructL();
    00045
    00046         void RunL();
    00047         void DoCancel();
    00048
    00049 // Data
    00050 public:
    00054         CTelephony::TFlightModeV1 iFlightModeV1;
    00055
    00056 private:
    00060         CTelephony::TFlightModeV1Pckg iFlightModeV1Pckg;
    00061
    00062         };
    00063
    00064 #endif // __CFLIGHTMODEINFO_H__
    00065
    00066
    00067