|
1 /* |
|
2 * Copyright (c) 2005-2007 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 WlanWsaComplexCommand class. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 13 % |
|
20 */ |
|
21 |
|
22 #ifndef WLANWSACOMPLEXCOMMAND_H |
|
23 #define WLANWSACOMPLEXCOMMAND_H |
|
24 |
|
25 #include "UmacMacActionState.h" |
|
26 |
|
27 |
|
28 /** |
|
29 * Base class for complex WHA command objects |
|
30 * |
|
31 * @lib wlanumac.lib |
|
32 * @since S60 v3.1 |
|
33 */ |
|
34 class WlanWsaComplexCommand : public WlanMacActionState |
|
35 { |
|
36 |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Destructor. |
|
41 */ |
|
42 virtual ~WlanWsaComplexCommand() {}; |
|
43 |
|
44 void Act( WlanContextImpl& aCtxImpl, TUint32 aAct ) const; |
|
45 |
|
46 protected: |
|
47 |
|
48 /** |
|
49 * C++ default constructor. |
|
50 */ |
|
51 WlanWsaComplexCommand() {}; |
|
52 |
|
53 virtual TBool DoErrorIndication( |
|
54 WlanContextImpl& aCtxImpl, |
|
55 WHA::TStatus aStatus ); |
|
56 |
|
57 virtual void OnWhaCommandResponse( |
|
58 WlanContextImpl& aCtxImpl, |
|
59 WHA::TCommandId aCommandId, |
|
60 WHA::TStatus aStatus, |
|
61 const WHA::UCommandResponseParams& aCommandResponseParams, |
|
62 TUint32 aAct ); |
|
63 |
|
64 inline void TraverseToHistoryState( WlanContextImpl& aCtxImpl ); |
|
65 }; |
|
66 |
|
67 #include "UmacWsaComplexCommand.inl" |
|
68 |
|
69 #endif // WLANWSACOMPLEXCOMMAND_H |