1 /* |
|
2 * Copyright (c) 2008 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: This file contains the header file of the |
|
15 * : CSsNoteDialog class. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef CSSNOTEDIALOG_H |
|
22 #define CSSNOTEDIALOG_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <aknnotedialog.h> |
|
26 |
|
27 |
|
28 // CONSTANTS |
|
29 //None |
|
30 |
|
31 // MACROS |
|
32 //None |
|
33 |
|
34 // DATA TYPES |
|
35 //None. |
|
36 |
|
37 // FUNCTION PROTOTYPES |
|
38 //None |
|
39 |
|
40 // FORWARD DECLARATIONS |
|
41 //None |
|
42 |
|
43 // CLASS DECLARATION |
|
44 |
|
45 /** |
|
46 * Note dialog class for service selector |
|
47 * |
|
48 * @lib ServiceSelector.lib |
|
49 * @since Series60_5.0 |
|
50 */ |
|
51 NONSHARABLE_CLASS( CSsNoteDialog ) |
|
52 : public CAknNoteDialog |
|
53 { |
|
54 public: // Constructors and destructor |
|
55 |
|
56 /** |
|
57 * C++ constructor. |
|
58 * @param aSelf pointer to itself. |
|
59 */ |
|
60 CSsNoteDialog( CEikDialog** aSelf ); |
|
61 |
|
62 /** |
|
63 * Destructor. |
|
64 */ |
|
65 virtual ~CSsNoteDialog(); |
|
66 |
|
67 /** |
|
68 * From CCoeControl |
|
69 * Handles key events. |
|
70 * @param aKeyEvent Key event details. |
|
71 * @param aType Type of event. |
|
72 * @return Indicates is or not the key event was used |
|
73 */ |
|
74 TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, |
|
75 TEventCode aType ); |
|
76 |
|
77 public: // New functions |
|
78 |
|
79 /** |
|
80 * Runs a note dialog. |
|
81 * @param aResourceId Resource for the note text. |
|
82 */ |
|
83 void RunDialogLD( TInt aResourceId ); |
|
84 |
|
85 private: // Data |
|
86 |
|
87 // Pointer to itself. |
|
88 CEikDialog** iSelf; |
|
89 |
|
90 }; |
|
91 |
|
92 #endif // CSSNOTEDIALOG_H |
|
93 |
|
94 // End of File |
|