|
1 /* |
|
2 * Copyright (c) 2006-2007 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: Stub file for visual list observer |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 #ifndef __MGLXVISUALLIST_OBSERVER_H__ |
|
22 #define __MGLXVISUALLIST_OBSERVER_H__ |
|
23 |
|
24 // EXTERNAL INCLUDES |
|
25 #include "mglxvisuallist.h" |
|
26 |
|
27 /** |
|
28 * EUnit Wizard generated adapter observer interface. |
|
29 * The test class is informed about any calls to the |
|
30 * corresponding adapter using this interface. |
|
31 */ |
|
32 NONSHARABLE_CLASS( MGlxVisualList_Observer ) |
|
33 { |
|
34 public: // enums |
|
35 |
|
36 enum TMGlxVisualListMethodId |
|
37 { |
|
38 E_NotCalled, |
|
39 E_TGlxVisualListId_Id_, |
|
40 E_CHuiVisual_p_Visual_TInt_, |
|
41 E_CGlxVisualObject_p_Item_TInt_, |
|
42 E_TInt_ItemCount_, |
|
43 E_TInt_FocusIndex_, |
|
44 E_CHuiControlGroup_p_ControlGroup_, |
|
45 E_void_AddObserverL_MGlxVisualListObserver_p_, |
|
46 E_void_RemoveObserver_MGlxVisualListObserver_p_, |
|
47 E_void_AddLayoutL_MGlxLayout_p_, |
|
48 E_void_RemoveLayout_const_MGlxLayout_p_, |
|
49 E_TGlxViewContextId_AddContextL_TInt_TInt_, |
|
50 E_void_RemoveContext_const_TGlxViewContextId_r_, |
|
51 E_void_NavigateL_TInt_, |
|
52 E_TSize_Size_, |
|
53 E_void_BringVisualsToFront_ |
|
54 }; |
|
55 |
|
56 public: // Destructor |
|
57 |
|
58 /** |
|
59 * Destructor |
|
60 */ |
|
61 virtual ~MGlxVisualList_Observer() {} |
|
62 |
|
63 public: // Abstract methods |
|
64 |
|
65 virtual void MGlxVisualList_MethodCalled(TMGlxVisualListMethodId aMethodId)=0; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // __MGLXVISUALLIST_OBSERVER_H__ |
|
70 |
|
71 // End of file |