1 /* |
|
2 * Copyright (c) 2005-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: Responsible for handling notes related to CLIR, CLIP, |
|
15 COLR and COLP. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CSATSENDSSCLINOUIOBS_H |
|
21 #define CSATSENDSSCLINOUIOBS_H |
|
22 |
|
23 #include <mpsetcliobserver.h> |
|
24 |
|
25 /** |
|
26 * Implements MPsetCliObserver and is responsible for handling notes related |
|
27 * to CLIR, CLIP, COLR and COLP. |
|
28 * |
|
29 * @lib SendSsCmd |
|
30 * @since S60 v3.1 |
|
31 */ |
|
32 class CSatSendSsCliNoUiObs : public CBase, public MPsetCliObserver |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * C++ default constructor. |
|
38 */ |
|
39 CSatSendSsCliNoUiObs(); |
|
40 |
|
41 /** |
|
42 * Destructor. |
|
43 */ |
|
44 ~CSatSendSsCliNoUiObs(); |
|
45 |
|
46 /** |
|
47 * CliInformation-method takes the correct type of cli |
|
48 * and passes it on to iNote |
|
49 * @param aType defines the type and status of cli info. |
|
50 */ |
|
51 void CliInformationL( TPsuiCli aType ); |
|
52 |
|
53 /** |
|
54 * HandleCliRequestingL-function handles requesting notes. |
|
55 * @param aOngoing defines whether or not there is a request going on. |
|
56 * @param aInterrupted if ETrue, means that notemaster should be |
|
57 * immediately deleted. |
|
58 */ |
|
59 void HandleCliRequestingL( TBool aOngoing, TBool aInterrupted ); |
|
60 |
|
61 /** |
|
62 * SetEngineContact-function... |
|
63 * @param aEngine reference to the PS engine |
|
64 */ |
|
65 void SetEngineContact( MPsetCli* aEngine ); |
|
66 |
|
67 /* |
|
68 * HandleCliStatusL-function shows the status of Cli if requested. |
|
69 * @param aBsc list of basic service groups |
|
70 * @param aMode status of CLI |
|
71 */ |
|
72 void HandleCliStatusL( TUint8 aBsc[KPSetNumberOfBsc], TPsuiCli aMode ); |
|
73 |
|
74 /* |
|
75 * HandleCnapStatusL-function shows the status of Cnap if requested. |
|
76 * @param aStatus status of Cnap |
|
77 */ |
|
78 void HandleCnapStatusL( TInt aStatus ); |
|
79 |
|
80 /** |
|
81 * Handles errors. |
|
82 * @param aError error code. |
|
83 */ |
|
84 void HandleCliErrorL( TInt aError ); |
|
85 }; |
|
86 |
|
87 #endif // CSATSENDSSCLINOUIOBS_H |
|