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 MWsfMainUiObserver |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef M_WSFMAINUIOBSERVER_H |
|
19 #define M_WSFMAINUIOBSERVER_H |
|
20 |
|
21 // EXTERNAL INCLUDES |
|
22 #include <e32def.h> |
|
23 |
|
24 |
|
25 // CLASS DEFINITION |
|
26 /** |
|
27 * An interface to the main controller for the AppUI. |
|
28 * |
|
29 * @since S60 v5.0 |
|
30 */ |
|
31 class MWsfMainUiObserver |
|
32 { |
|
33 public: // Abstract methods |
|
34 |
|
35 /** |
|
36 * Called when the main view has been created. |
|
37 * @since S60 5.0 |
|
38 */ |
|
39 virtual void MainViewCreatedL() = 0; |
|
40 |
|
41 /** |
|
42 * Brings the main wlan list to the foreground |
|
43 * @since S60 5.0 |
|
44 */ |
|
45 virtual void ShowWlanListL() = 0; |
|
46 |
|
47 /** |
|
48 * Issues a refresh on the wlan list |
|
49 * @since S60 5.0 |
|
50 */ |
|
51 virtual void RefreshL() = 0; |
|
52 |
|
53 /** |
|
54 * Invokes the details view |
|
55 * @since S60 5.0 |
|
56 */ |
|
57 virtual void ShowDetailsL() = 0; |
|
58 |
|
59 /** |
|
60 * Starts the browser with the currently selected wlan |
|
61 * @since S60 5.0 |
|
62 */ |
|
63 virtual void StartBrowsingL() = 0; |
|
64 |
|
65 /** |
|
66 * Continues browsing with the currently selected wlan |
|
67 * @since S60 5.0 |
|
68 */ |
|
69 virtual void ContinueBrowsingL() = 0; |
|
70 |
|
71 /** |
|
72 * Connects to the currently selected wlan |
|
73 * @since S60 5.0 |
|
74 */ |
|
75 virtual void ConnectL() = 0; |
|
76 |
|
77 /** |
|
78 * Disconnects the currently selected wlan |
|
79 * @since S60 5.0 |
|
80 */ |
|
81 virtual void DisconnectL() = 0; |
|
82 |
|
83 /** |
|
84 * Called when the application has completely started |
|
85 * @since S60 5.0 |
|
86 */ |
|
87 virtual void AppLaunchCompleteL() = 0; |
|
88 |
|
89 /** |
|
90 * Called when the application is brought to the foreground |
|
91 * @since S60 5.0 |
|
92 */ |
|
93 virtual void AppSwitchedForegroundL() = 0; |
|
94 |
|
95 /** |
|
96 * Called when the application is sent to the background |
|
97 * @since S60 5.0 |
|
98 */ |
|
99 virtual void AppSwitchedBackgroundL() = 0; |
|
100 |
|
101 /** |
|
102 * Invokes the wlan list filtering dialog |
|
103 * @since S60 5.0 |
|
104 */ |
|
105 virtual void EditBlackListItemsL() = 0; |
|
106 |
|
107 /** |
|
108 * Queries whether the engine is refreshing |
|
109 * @since S60 5.0 |
|
110 * @return ETrue if the engine is refreshing, EFalse otherwise |
|
111 */ |
|
112 virtual TBool EngineRefreshing() = 0; |
|
113 |
|
114 }; |
|
115 |
|
116 #endif // M_WSFMAINUIOBSERVER_H |
|
117 |
|
118 // End of file |
|