|
1 /* |
|
2 * Copyright (c) 2002 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CALENDESCRIPTIONFIELD_H |
|
20 #define CALENDESCRIPTIONFIELD_H |
|
21 |
|
22 // system includes |
|
23 #include <eikedwin.h> |
|
24 |
|
25 // forward declaration |
|
26 class CCalenDescription; |
|
27 |
|
28 // CLASS DECLARATION |
|
29 |
|
30 /** |
|
31 * Custom-editor field for description data |
|
32 * |
|
33 * @lib Calendar.app |
|
34 * @since 2.8 |
|
35 */ |
|
36 NONSHARABLE_CLASS( CCalenDescriptionField ) : public CEikEdwin |
|
37 { |
|
38 public: // Constructors and destructor |
|
39 |
|
40 /** |
|
41 * @brief Default constructor |
|
42 * @param aDescription |
|
43 */ |
|
44 CCalenDescriptionField( CCalenDescription& aDescription ); |
|
45 |
|
46 /** |
|
47 * @brief destructor |
|
48 */ |
|
49 virtual ~CCalenDescriptionField(); |
|
50 |
|
51 public: |
|
52 |
|
53 /** |
|
54 * @brief To handle the key events, from CEikdwin |
|
55 * @param aKeyEvent |
|
56 * @param aType |
|
57 */ |
|
58 TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, |
|
59 TEventCode aType ); |
|
60 |
|
61 /** |
|
62 * @brief To set text to CEikEdwin |
|
63 * @param aData pointer to TDesC description text |
|
64 */ |
|
65 void SetTextL( const TDesC* aData ); |
|
66 |
|
67 private: // Data |
|
68 |
|
69 /** |
|
70 * @var iDescription |
|
71 * @brief Referance to description handler, which provides edit, show and remove |
|
72 */ |
|
73 CCalenDescription& iDescription; |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // CALENDESCRIPTIONFIELD_H |
|
78 |
|
79 |
|
80 // End of File |