24
|
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 __CCALLFORWARDINGSTATUS_H__
|
|
17 |
#define __CCALLFORWARDINGSTATUS_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 forwarding supplementary service.
|
|
30 |
*/
|
|
31 |
class CCallForwardingStatus : public CISVAPIAsync
|
|
32 |
{
|
|
33 |
|
|
34 |
// Methods
|
|
35 |
public:
|
|
36 |
static CCallForwardingStatus* NewL(MExecAsync* aController);
|
|
37 |
~CCallForwardingStatus();
|
|
38 |
|
|
39 |
void DoStartRequestL();
|
|
40 |
|
|
41 |
private:
|
|
42 |
CCallForwardingStatus(MExecAsync* aController);
|
|
43 |
void ConstructL();
|
|
44 |
|
|
45 |
void RunL();
|
|
46 |
void DoCancel();
|
|
47 |
|
|
48 |
// Data
|
|
49 |
public:
|
|
50 |
/**
|
|
51 |
Stores current call forwarding status when call status is checked for
|
|
52 |
CTelephony::ECallForwardingNoReply.
|
|
53 |
*/
|
|
54 |
CTelephony::TCallForwardingSupplServicesV1 iCallForwardingStatus1V1;
|
|
55 |
/**
|
|
56 |
Stores current call forwarding status when call status is checked for
|
|
57 |
CTelephony::ECallForwardingUnconditional.
|
|
58 |
*/
|
|
59 |
CTelephony::TCallForwardingSupplServicesV1 iCallForwardingStatus2V1;
|
|
60 |
|
|
61 |
private:
|
|
62 |
/**
|
|
63 |
Package descriptor for iCallForwardingStatus1V1.
|
|
64 |
*/
|
|
65 |
CTelephony::TCallForwardingSupplServicesV1Pckg iCallForwardingStatus1V1Pckg;
|
|
66 |
/**
|
|
67 |
Package descriptor for iCallForwardingStatus2V1.
|
|
68 |
*/
|
|
69 |
CTelephony::TCallForwardingSupplServicesV1Pckg iCallForwardingStatus2V1Pckg;
|
|
70 |
/**
|
|
71 |
When set to EFalse, DoStartRequestL() will check if the call forwarding
|
|
72 |
status is CTelephony::ECallForwardingUnconditional. When set to ETrue,
|
|
73 |
DoStartRequestL() will check if the call forwarding status is
|
|
74 |
CTelephony::ECallForwardingNoReply
|
|
75 |
*/
|
|
76 |
TBool iSecondCondition;
|
|
77 |
};
|
|
78 |
|
|
79 |
#endif // __CCALLFORWARDINGSTATUS_H__
|