|
1 /* |
|
2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Call Waiting observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CSATSENDSSCALLWAITINGNOUIOBS_H |
|
20 #define CSATSENDSSCALLWAITINGNOUIOBS_H |
|
21 |
|
22 #include <MPsetCallWaitingObs.h> |
|
23 |
|
24 /** |
|
25 * Implements MPsetCallWaitingObserver and gets notifications |
|
26 * of the call waiting process. |
|
27 * |
|
28 * @lib SendSsCmd |
|
29 * @since S60 v3.1 |
|
30 */ |
|
31 class CSatSendSsCallWaitingNoUiObs : public CBase, |
|
32 public MPsetCallWaitingObserver |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * C++ default constructor. |
|
38 */ |
|
39 CSatSendSsCallWaitingNoUiObs(); |
|
40 |
|
41 /** |
|
42 * Destructor. |
|
43 */ |
|
44 ~CSatSendSsCallWaitingNoUiObs(); |
|
45 |
|
46 /** |
|
47 * HandleCallWaitingGetStatusL-function |
|
48 * @param aStatus is the query result. |
|
49 */ |
|
50 void HandleCallWaitingGetStatusL( |
|
51 MPsetCallWaiting::TGetCallWaitingStatus aStatus, |
|
52 TUint8 aBsc[KPSetNumberOfBsc] ); |
|
53 |
|
54 /** |
|
55 * HandleCallWaitingChangedL-function |
|
56 * @param aSetting is the setting that was changed. |
|
57 * @param aResult is the result of the action. |
|
58 */ |
|
59 void HandleCallWaitingChangedL( |
|
60 MPsetCallWaiting::TSetCallWaiting aSetting, |
|
61 TInt aResult ); |
|
62 |
|
63 /** |
|
64 * HandleRequestingL-function handles requesting notes. |
|
65 * @param aOngoing defines whether or not there is a request going on. |
|
66 * @param aInterrupted if ETrue deletes immediately CPsuiNoteMaster-object. |
|
67 */ |
|
68 void HandleCWRequestingL( TBool aOngoing, TBool aInterrupted ); |
|
69 |
|
70 /** |
|
71 * This function handles errors in call waiting requests. |
|
72 * @param aReason is the reason for error. |
|
73 */ |
|
74 void HandleCWErrorL( TInt aReason ); |
|
75 |
|
76 /** |
|
77 * SetEngineContact-function |
|
78 * @param aEngineContact is a connection to the engine. |
|
79 */ |
|
80 void SetEngineContact( MPsetCallWaiting& aEngineContact ); |
|
81 }; |
|
82 |
|
83 #endif //CSATSENDSSCALLWAITINGNOUIOBS_H |