|
1 /* |
|
2 * Copyright (c) 2002-2005 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: Abstract number entry interface. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef M_PHONENUMBERENTRY_H |
|
19 #define M_PHONENUMBERENTRY_H |
|
20 |
|
21 // Forward declarations |
|
22 class MNumberEntry; |
|
23 |
|
24 /** |
|
25 * Abstract number entry interface. |
|
26 * |
|
27 * |
|
28 * @lib PhoneUiView.lib |
|
29 * @since S60 v5.0 |
|
30 */ |
|
31 class MPhoneNumberEntry |
|
32 { |
|
33 |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Enables or disables tactile feedback |
|
38 * |
|
39 * @since S60 S60 v5.0 |
|
40 */ |
|
41 virtual void EnableTactileFeedback( const TBool aEnable ) = 0; |
|
42 |
|
43 /** |
|
44 * Indicates state whether numberentry is used or not |
|
45 * |
|
46 * @since S60 S60 v5.0 |
|
47 */ |
|
48 virtual TBool IsNumberEntryUsed() const = 0; |
|
49 |
|
50 /** |
|
51 * Returns count of characters in numberentry |
|
52 * |
|
53 * @since S60 S60 v5.0 |
|
54 */ |
|
55 virtual TInt CountNumberEntryCharacters() = 0; |
|
56 |
|
57 /** |
|
58 * Sets dialer's numberentry pointer |
|
59 * |
|
60 * @since S60 S60 v5.0 |
|
61 */ |
|
62 virtual void SetNumberEntry( MNumberEntry* aNumberEntry ) = 0; |
|
63 |
|
64 /** |
|
65 * Sets content for numberentry |
|
66 * |
|
67 * @since S60 S60 v5.0 |
|
68 */ |
|
69 virtual void SetNumberEntryContent( const TDesC& aContent ) = 0; |
|
70 |
|
71 /** |
|
72 * Sets prompt text for numberentry |
|
73 * |
|
74 * @since S60 S60 v5.0 |
|
75 */ |
|
76 virtual void SetNumberEntryPromptText( const TDesC& aPromptText ) = 0; |
|
77 }; |
|
78 |
|
79 |
|
80 #endif // M_PHONENUMBERENTRY_H |