equal
deleted
inserted
replaced
|
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 #include <dfcs.h> |
|
18 |
|
19 #ifdef __USE_GPIO_STATIC_EXTENSION__ |
|
20 // test standard extension handler number. *DO NOT USE* |
|
21 #define KTestStaticExtension 0x80000000 |
|
22 #include <staticextension.h> |
|
23 #endif |
|
24 |
|
25 #include <gpio.h> |
|
26 |
|
27 EXPORT_C TInt GPIO::StaticExtension(TInt /*aId*/, TInt aCmd, TAny* /*aArg1*/, TAny* /*aArg2*/) |
|
28 { |
|
29 TInt k; |
|
30 switch (aCmd) |
|
31 { |
|
32 case ETestStaticExtension: |
|
33 k = KErrNone; |
|
34 break; |
|
35 default: |
|
36 k = KErrNotSupported; |
|
37 break; |
|
38 } |
|
39 return k; |
|
40 } |
|
41 |