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: Menu command iterator class definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef T_VTUIMENUCOMMANDITERATOR_H |
|
20 #define T_VTUIMENUCOMMANDITERATOR_H |
|
21 |
|
22 #include "mvtuicommanditerator.h" |
|
23 |
|
24 /** |
|
25 * TVtUiMenuCommandIterator |
|
26 * |
|
27 * Menu command iterator class definition. |
|
28 * |
|
29 * @since S60 v3.2 |
|
30 */ |
|
31 class TVtUiMenuCommandIterator : public MVtUiCommandIterator |
|
32 { |
|
33 |
|
34 public: // public methods |
|
35 |
|
36 /** |
|
37 * C++ constructor |
|
38 * |
|
39 */ |
|
40 TVtUiMenuCommandIterator( CEikMenuPane& aMenuPane ); |
|
41 |
|
42 public: // from MVtUiCommandIterator |
|
43 |
|
44 /** |
|
45 * @see MVtUiCommandIterator::HasNext |
|
46 */ |
|
47 TBool HasNext() const; |
|
48 |
|
49 /** |
|
50 * @see MVtUiCommandIterator::Next |
|
51 */ |
|
52 TInt Next(); |
|
53 |
|
54 private: |
|
55 |
|
56 // Pointer to menu pane to be iterated |
|
57 CEikMenuPane* iMenuPane; |
|
58 |
|
59 // Current iteration point |
|
60 TInt iCurrent; |
|
61 |
|
62 }; |
|
63 |
|
64 #endif // T_VTUIMENUCOMMANDITERATOR_H |
|