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 __CCALLBARRINGSTATUS_H__ |
|
17 #define __CCALLBARRINGSTATUS_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 Retrieves the status of the network call barring supplementary service. |
|
30 */ |
|
31 class CCallBarringStatus : public CISVAPIAsync |
|
32 { |
|
33 |
|
34 // Methods |
|
35 public: |
|
36 static CCallBarringStatus* NewL(MExecAsync* aController); |
|
37 ~CCallBarringStatus(); |
|
38 |
|
39 void DoStartRequestL(); |
|
40 |
|
41 private: |
|
42 CCallBarringStatus(MExecAsync* aController); |
|
43 void ConstructL(); |
|
44 |
|
45 void RunL(); |
|
46 void DoCancel(); |
|
47 |
|
48 // Data |
|
49 public: |
|
50 /** |
|
51 Stores the status of call barring services. Filled by a call to |
|
52 CTelephony::GetCallBarringStatus(). |
|
53 */ |
|
54 CTelephony::TCallBarringSupplServicesV1 iCallBarringStatusV1; |
|
55 |
|
56 private: |
|
57 /** |
|
58 Package descriptor for iCallBarringStatusV1. |
|
59 */ |
|
60 CTelephony::TCallBarringSupplServicesV1Pckg iCallBarringStatusV1Pckg; |
|
61 }; |
|
62 |
|
63 #endif // __CCALLBARRINGSTATUS_H__ |