|
1 /* |
|
2 * Copyright (c) 2005-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 the License "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: Declaration of the TWlanScanFsm class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 6 % |
|
20 */ |
|
21 |
|
22 #ifndef T_WLANSCANFSM_H |
|
23 #define T_WLANSCANFSM_H |
|
24 |
|
25 class WlanScanFsmCntx; |
|
26 |
|
27 /** |
|
28 * Scan state machine. |
|
29 * |
|
30 * @lib wlanumac.lib |
|
31 * @since S60 v3.1 |
|
32 */ |
|
33 class TWlanScanFsm |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * ?description |
|
40 * |
|
41 * @since S60 3.1 |
|
42 * @param ?arg1 ?description |
|
43 * @param ?arg2 ?description |
|
44 * @return ?description |
|
45 */ |
|
46 virtual void StartScanningMode( WlanScanFsmCntx& aCnxt ); |
|
47 |
|
48 /** |
|
49 * ?description |
|
50 * |
|
51 * @since S60 3.1 |
|
52 * @param ?arg1 ?description |
|
53 * @param ?arg2 ?description |
|
54 * @return ?description |
|
55 */ |
|
56 virtual void StopScanningMode( WlanScanFsmCntx& aCnxt ); |
|
57 |
|
58 /** |
|
59 * ?description |
|
60 * |
|
61 * @since S60 3.1 |
|
62 * @param ?arg1 ?description |
|
63 * @param ?arg2 ?description |
|
64 * @return ?description |
|
65 */ |
|
66 virtual void OnScanningModeStarted( WlanScanFsmCntx& aCnxt ); |
|
67 |
|
68 /** |
|
69 * ?description |
|
70 * |
|
71 * @since S60 3.1 |
|
72 * @param ?arg1 ?description |
|
73 * @param ?arg2 ?description |
|
74 * @return ?description |
|
75 */ |
|
76 virtual void OnScanningModeStopped( WlanScanFsmCntx& aCnxt ); |
|
77 |
|
78 protected: |
|
79 |
|
80 TWlanScanFsm() {}; |
|
81 |
|
82 /** |
|
83 * ?description |
|
84 * |
|
85 * @since S60 3.1 |
|
86 * @param ?arg1 ?description |
|
87 * @param ?arg2 ?description |
|
88 * @return ?description |
|
89 */ |
|
90 void ChangeState( WlanScanFsmCntx& aCnxt, TWlanScanFsm& aNewState ) const; |
|
91 |
|
92 /** |
|
93 * ?description |
|
94 * |
|
95 * @since S60 3.1 |
|
96 * @param ?arg1 ?description |
|
97 * @param ?arg2 ?description |
|
98 * @return ?description |
|
99 */ |
|
100 virtual void Entry( WlanScanFsmCntx& aCnxt ) = 0; |
|
101 |
|
102 private: |
|
103 |
|
104 }; |
|
105 |
|
106 #endif // T_WLANSCANFSM_H |