equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 #ifndef __CFLIGHTMODEINFO_H__ |
|
17 #define __CFLIGHTMODEINFO_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <e32cons.h> |
|
21 #include <e32def.h> |
|
22 #include <etel3rdparty.h> |
|
23 |
|
24 #include "CISVAPIAsync.h" |
|
25 |
|
26 #include "CMainMenu.h" |
|
27 |
|
28 /** |
|
29 Informs the user of whether the flight mode is on or off. Can be notified on |
|
30 change. |
|
31 */ |
|
32 class CFlightModeInfo : public CISVAPIAsync |
|
33 { |
|
34 |
|
35 // Methods |
|
36 public: |
|
37 static CFlightModeInfo* NewL(MExecAsync* aController); |
|
38 ~CFlightModeInfo(); |
|
39 |
|
40 void DoStartRequestL(); |
|
41 void DoRequestNotificationL(); |
|
42 private: |
|
43 CFlightModeInfo(MExecAsync* aController); |
|
44 void ConstructL(); |
|
45 |
|
46 void RunL(); |
|
47 void DoCancel(); |
|
48 |
|
49 // Data |
|
50 public: |
|
51 /** |
|
52 Stores retrieved flight mode status. |
|
53 */ |
|
54 CTelephony::TFlightModeV1 iFlightModeV1; |
|
55 |
|
56 private: |
|
57 /** |
|
58 Package descriptor for iFlightMoveV1. |
|
59 */ |
|
60 CTelephony::TFlightModeV1Pckg iFlightModeV1Pckg; |
|
61 }; |
|
62 |
|
63 #endif // __CFLIGHTMODEINFO_H__ |