equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2007 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: Emergency number dialog |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __LOCKAPPECSNOTE_H__ |
|
20 #define __LOCKAPPECSNOTE_H__ |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknnotedialog.h> |
|
24 |
|
25 /** |
|
26 * CLockAppEcsNote class is derived from Avkon note implementation; |
|
27 * shows emergency numbers on a dialog once the user has dialed |
|
28 * the numbers. |
|
29 * |
|
30 * @lib lockapp |
|
31 * @since 5.0 |
|
32 * @author Joona Petrell |
|
33 * @author Tamas Koteles |
|
34 */ |
|
35 class CLockAppEcsNote : public CAknNoteDialog |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 * C++ constructor. |
|
41 */ |
|
42 CLockAppEcsNote( ); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CLockAppEcsNote( ); |
|
48 |
|
49 public: |
|
50 |
|
51 /** |
|
52 * Constructs sleeping note |
|
53 */ |
|
54 void ConstructSleepingNoteL( TInt aResourceId ); |
|
55 |
|
56 /** |
|
57 * Shows sleeping note |
|
58 */ |
|
59 TInt ShowNote( ); |
|
60 |
|
61 /** |
|
62 * Hides sleeping note |
|
63 */ |
|
64 void SleepNote( ); |
|
65 |
|
66 /** |
|
67 * Consume key events |
|
68 */ |
|
69 TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType ); |
|
70 |
|
71 /** |
|
72 * API to set the emergency number to be displayed |
|
73 * |
|
74 * aMatchedNumber text to display (e.g. "112" ) |
|
75 */ |
|
76 void SetEmergencyNumber( const TDesC& aMatchedNumber ); |
|
77 |
|
78 public: |
|
79 |
|
80 TBool iNoteOnScreen; |
|
81 |
|
82 }; |
|
83 |
|
84 #endif // __LOCKAPPECSNOTE_H__ |
|
85 // End of File |
|