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