|
1 /* |
|
2 * Copyright (c) 2010 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef WLANSDIOACLIENT_H |
|
19 #define WLANSDIOACLIENT_H |
|
20 |
|
21 #include <wlansdioa.h> |
|
22 |
|
23 /** |
|
24 * SDIOA client callback interface |
|
25 * |
|
26 * |
|
27 */ |
|
28 class MWlanSdioaClient |
|
29 { |
|
30 |
|
31 public: |
|
32 |
|
33 /** |
|
34 * Destructor |
|
35 * |
|
36 */ |
|
37 virtual ~MWlanSdioaClient() {}; |
|
38 |
|
39 /** |
|
40 * SDIOA request complete callback |
|
41 * |
|
42 * @param aRequestId SDIOA request ID |
|
43 * @param aStatus Status of the operation |
|
44 * ESuccess - The request completed successfully |
|
45 * EFailure - The request failed |
|
46 */ |
|
47 virtual void OnRequestComplete( WlanSdioa::TRequestId aRequestId, |
|
48 SDIOA::TStatus aStatus ) = 0; |
|
49 |
|
50 /** |
|
51 * SDIO interrupt callback |
|
52 * |
|
53 * This method will be called after a device interrupt only if SDIO |
|
54 * (DAT1 multiplexed) interrupts have been enabled with the |
|
55 * WlanSdioa::EnableSDIOInterrupt() method. |
|
56 */ |
|
57 virtual void OnSDIOInterrupt() = 0; |
|
58 }; |
|
59 |
|
60 |
|
61 #endif // WLANSDIOACLIENT_H |