1 /* |
|
2 * Copyright (c) 2004 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: Defines the query observer interfaces used in CallUI |
|
15 * confirmation query handling. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef CAUIQUERYOBSERVER_H |
|
21 #define CAUIQUERYOBSERVER_H |
|
22 |
|
23 |
|
24 /** |
|
25 * Defines the observer interface for reconnect confirmation query observers. |
|
26 * |
|
27 * @lib CaUiEngine.lib |
|
28 * @since 2.6 |
|
29 */ |
|
30 class MCaUiReconConfQueryObserver |
|
31 { |
|
32 public: // Data types |
|
33 |
|
34 enum TCaUiReconType |
|
35 { |
|
36 ECallUiReconTypeCancel = -1, // Query canceled. |
|
37 ECallUiReconTypeVoice = 0, // Voice call. |
|
38 ECallUiReconTypeVideo = 1, // Video call. |
|
39 #ifndef RD_UNIFIED_EDITOR |
|
40 ECallUiReconTypeMms = 2, // MMS. |
|
41 ECallUiReconTypeSms = 3 // SMS. |
|
42 #else // RD_UNIFIED_EDITOR |
|
43 ECallUiReconTypeMsg = 2 |
|
44 #endif // RD_UNIFIED_EDITOR |
|
45 }; |
|
46 |
|
47 public: // New functions |
|
48 |
|
49 /** |
|
50 * Called when CCaUiReconConfQuery has got a key press. |
|
51 * |
|
52 * @param aReconType The reconnect choice of the user. |
|
53 */ |
|
54 virtual void HandleReconConfQueryResultL( |
|
55 TCaUiReconType aReconType ) = 0; |
|
56 }; |
|
57 |
|
58 |
|
59 |
|
60 #endif // CAUIQUERYOBSERVER_H |
|
61 |
|
62 // End of File |
|