|
1 /* |
|
2 * Copyright (c) 2005-2005 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: Implementation of the TWlanScanModeStopped class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 4 % |
|
20 */ |
|
21 |
|
22 #include "config.h" |
|
23 #include "umacscanmodestopped.h" |
|
24 #include "umacscanfsmcntx.h" |
|
25 #include "umacscanfsmcb.h" |
|
26 |
|
27 // ======== MEMBER FUNCTIONS ======== |
|
28 |
|
29 |
|
30 // --------------------------------------------------------------------------- |
|
31 // |
|
32 // --------------------------------------------------------------------------- |
|
33 // |
|
34 void TWlanScanModeStopped::Entry( |
|
35 WlanScanFsmCntx& aCnxt ) |
|
36 { |
|
37 aCnxt.Cb().OnScanFsmEvent( MWlanScanFsmCb::EFSMSCANMODESTOPPED ); |
|
38 } |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 void TWlanScanModeStopped::StartScanningMode( |
|
45 WlanScanFsmCntx& aCnxt ) |
|
46 { |
|
47 ChangeState( aCnxt, aCnxt.StartScanningMode() ); |
|
48 } |
|
49 |
|
50 // --------------------------------------------------------------------------- |
|
51 // |
|
52 // --------------------------------------------------------------------------- |
|
53 // |
|
54 void TWlanScanModeStopped::StopScanningMode( |
|
55 WlanScanFsmCntx& aCnxt ) |
|
56 { |
|
57 ChangeState( aCnxt, *this ); |
|
58 } |