equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 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: Softkey validation action class definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_CVTUISOFTKEYVALIDATIONACTION_H |
|
20 #define C_CVTUISOFTKEYVALIDATIONACTION_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "cvtuicmdvalidationactionbase.h" |
|
25 |
|
26 /** |
|
27 * CVtUiSoftkeyValidationAction |
|
28 * |
|
29 * Softkey validation action definition. |
|
30 * |
|
31 * @since S60 v3.2 |
|
32 */ |
|
33 class CVtUiSoftkeyValidationAction : public CVtUiCmdValidationActionBase |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Static constructor |
|
40 */ |
|
41 static CVtUiSoftkeyValidationAction* NewL(); |
|
42 |
|
43 public: // from CVtUiCmdValidationActionBase |
|
44 |
|
45 /** |
|
46 * @see CVtUiCmdValidationActionBase::BeginProcess |
|
47 */ |
|
48 void BeginProcess(); |
|
49 |
|
50 /** |
|
51 * @see CVtUiCmdValidationActionBase::ProcessL |
|
52 */ |
|
53 void ProcessL( const MVtUiCmdValidatorCallBack& aCallBack ); |
|
54 |
|
55 public: // new methods |
|
56 |
|
57 /** |
|
58 * Returns resource id after validation process. |
|
59 */ |
|
60 TInt ResourceId() const; |
|
61 |
|
62 private: |
|
63 |
|
64 /** |
|
65 * C++ constructor. |
|
66 * |
|
67 */ |
|
68 CVtUiSoftkeyValidationAction(); |
|
69 |
|
70 private: // data |
|
71 |
|
72 // Index to currently selected softkey |
|
73 TInt iCurrentIdx; |
|
74 |
|
75 }; |
|
76 |
|
77 #endif // C_CVTUISOFTKEYVALIDATIONACTION_H |