equal
deleted
inserted
replaced
30 #include <eikseced.h> |
30 #include <eikseced.h> |
31 #include "nw_fbox_validator.h" |
31 #include "nw_fbox_validator.h" |
32 |
32 |
33 #include <fepbase.h> |
33 #include <fepbase.h> |
34 #include <aknedsts.h> |
34 #include <aknedsts.h> |
|
35 #include <fepipext.h> |
35 |
36 |
36 // CONSTANTS |
37 // CONSTANTS |
37 const TInt KBufLength = 512; |
38 const TInt KBufLength = 512; |
|
39 #define KFepUid 0x100056de |
|
40 #define KLineEnterChar 0x21b2 |
38 |
41 |
39 // FORWARD DECLARATIONS |
42 // FORWARD DECLARATIONS |
40 |
43 |
41 class CEikSecretEditor; |
44 class CEikSecretEditor; |
42 //class CEikRichTextEditor; |
45 //class CEikRichTextEditor; |
56 * CEpoc32InputBox implements the functionality |
59 * CEpoc32InputBox implements the functionality |
57 * of the WML input element. |
60 * of the WML input element. |
58 */ |
61 */ |
59 class CEpoc32InputBox : public CEikBorderedControl, public MEikEdwinObserver, public MCoeFepObserver, |
62 class CEpoc32InputBox : public CEikBorderedControl, public MEikEdwinObserver, public MCoeFepObserver, |
60 public MCoeFocusObserver, |
63 public MCoeFocusObserver, |
61 public MCoeFepAwareTextEditor, public MCoeCaptionRetrieverForFep, private MCoeFepAwareTextEditor_Extension1 |
64 public MCoeFepAwareTextEditor, public MCoeCaptionRetrieverForFep, |
|
65 public TCoeInputCapabilities::MCoeFepSpecificExtensions, |
|
66 private MCoeFepAwareTextEditor_Extension1 |
62 { |
67 { |
63 protected: // Constructors and destructor |
68 protected: // Constructors and destructor |
64 /* |
69 /* |
65 * C++ default constructor. |
70 * C++ default constructor. |
66 * @param aNode The parent node. |
71 * @param aNode The parent node. |
335 private: |
340 private: |
336 |
341 |
337 // for virtual keyboard |
342 // for virtual keyboard |
338 void UpdateInlineTextL(const TDesC& aText); |
343 void UpdateInlineTextL(const TDesC& aText); |
339 void ClearInlineText(); |
344 void ClearInlineText(); |
340 |
345 |
|
346 private: |
|
347 |
|
348 virtual TBool IsValidCharacter(TInt aChar); |
|
349 virtual void MCoeFepSpecificExtensions_Reserved_1(){}; |
|
350 virtual void MCoeFepSpecificExtensions_Reserved_2(){}; |
341 |
351 |
342 private: // Data |
352 private: // Data |
343 |
353 |
344 void* iOocInputSkin; // NW_FBox_Epoc32InputSkin_t*, NOT OWNED |
354 void* iOocInputSkin; // NW_FBox_Epoc32InputSkin_t*, NOT OWNED |
345 const CFont& iFont; // font for the editor, NOT OWNED |
355 const CFont& iFont; // font for the editor, NOT OWNED |