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: Class header for MWsfAiPublishObserver |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef M_WSFAIPUBLISHOBSERVER_H |
|
20 #define M_WSFAIPUBLISHOBSERVER_H |
|
21 |
|
22 #include <e32std.h> |
|
23 |
|
24 class CAknIconArray; |
|
25 class CEikLabel; |
|
26 |
|
27 /** |
|
28 * Abstract interface for wlan active idle plugin |
|
29 * |
|
30 */ |
|
31 class MWsfAiPublishObserver |
|
32 { |
|
33 public: |
|
34 |
|
35 /** |
|
36 * Publishes images from array and text |
|
37 * @since S60 5.0 |
|
38 * @param aPublishIconArray the published icons |
|
39 * @param aText1 title text label |
|
40 */ |
|
41 virtual void PublishContentL( CArrayFix< TInt >* aPublishIconArray, |
|
42 CEikLabel* aText1 ) = 0; |
|
43 |
|
44 /** |
|
45 * Sets Scanning status on/off. |
|
46 * @since S60 5.0 |
|
47 * @param aScanState Scanning satus flag |
|
48 */ |
|
49 virtual void SetScanningState( TBool aScanState ) = 0; |
|
50 |
|
51 /** |
|
52 * Sets refreshing status on/off. |
|
53 * @since S60 5.0 |
|
54 * @param aScanState Refreshing status flag |
|
55 */ |
|
56 virtual void SetRefreshingL( TBool aRefreshing ) = 0; |
|
57 |
|
58 /** |
|
59 * Sets connecting status on. |
|
60 * @since S60 5.0 |
|
61 * @param aScanState Refreshing status flag |
|
62 */ |
|
63 virtual void StartConnectingL() = 0; |
|
64 |
|
65 /** |
|
66 * Publishes state image from array |
|
67 * @since S60 5.0 |
|
68 * @param aPublishIconArray the published icons |
|
69 * @param aText1 title text label |
|
70 */ |
|
71 virtual void PublishStatusIconL( CArrayFix<TInt>* aPublishIconArray, |
|
72 CEikLabel* aText1 ) = 0; |
|
73 |
|
74 }; |
|
75 |
|
76 |
|
77 #endif // M_WSFAIPUBLISHOBSERVER_H |
|