1 /* |
|
2 * Copyright (c) 2007-2008 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: Interface for wlan active idle plugin ui control |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_WSFAIUIOBSERVER_H |
|
20 #define M_WSFAIUIOBSERVER_H |
|
21 |
|
22 |
|
23 #include <e32std.h> |
|
24 /** |
|
25 * Abstract interface for wlan active idle plugin ui control |
|
26 * - from the point of view of model |
|
27 * @since S60 5.0 |
|
28 */ |
|
29 class MWsfAiUiObserver |
|
30 { |
|
31 |
|
32 public: |
|
33 |
|
34 /** |
|
35 * Update the contents of control |
|
36 * Set the focus on aCurrentImte |
|
37 * @since S60 5.0 |
|
38 * @param aItemTextArray text of the current item |
|
39 * @param aCurrentItem index of the current item |
|
40 */ |
|
41 virtual void UpdateHotSpotsL( MDesCArray* aItemTextArray, |
|
42 TInt aCurrentItem ) = 0; |
|
43 |
|
44 /** |
|
45 * Gives back the index of the selected item |
|
46 * @since S60 5.0 |
|
47 * @return the index of the selected item |
|
48 */ |
|
49 virtual TInt SelectedItem() = 0; |
|
50 |
|
51 |
|
52 /* |
|
53 * Check if the control is multiline capable control |
|
54 * @since S60 5.0 |
|
55 * @return Etrue if control is multiline capable control |
|
56 */ |
|
57 virtual TBool MultilineControl() = 0; |
|
58 |
|
59 /* |
|
60 * Display engine off text in UI |
|
61 * @since S60 5.0 |
|
62 */ |
|
63 virtual void DisplayEngineOffL() = 0; |
|
64 |
|
65 /* |
|
66 * Set the refressing UI note visible |
|
67 * @since S60 5.0 |
|
68 */ |
|
69 virtual void ForceRefreshingL() = 0; |
|
70 |
|
71 /** |
|
72 * Update the contents of control |
|
73 * @since S60 5.0 |
|
74 * @param aItemTextArray text of the current item |
|
75 */ |
|
76 virtual void UpdateViewL( MDesCArray* aItemTextArray ) = 0; |
|
77 |
|
78 /** |
|
79 * Update the contents of control |
|
80 * @since S60 5.0 |
|
81 * @param aItemTextArray text of the current item |
|
82 */ |
|
83 virtual void StartConnectingAnimationL() = 0; |
|
84 }; |
|
85 |
|
86 |
|
87 #endif // M_WSFAIUIOBSERVER_H |
|