wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_wpx_adaptation_stub_factory.cpp
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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: Static factory class for instantiating a stub version WPX adaptation. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // ======== MEMBER FUNCTIONS ======== |
|
20 |
|
21 #include "core_wpx_adaptation_factory.h" |
|
22 #include "core_wpx_adaptation_stub.h" |
|
23 |
|
24 // --------------------------------------------------------------------------- |
|
25 // --------------------------------------------------------------------------- |
|
26 // |
|
27 abs_core_wpx_adaptation_c* core_wpx_adaptation_factory_c::instance( |
|
28 core_server_c* /* server */, |
|
29 abs_core_driverif_c* /* drivers */, |
|
30 abs_core_server_callback_c* /* adaptation */ ) |
|
31 { |
|
32 DEBUG( "core_wpx_adaptation_stub_factory::instance() " ); |
|
33 |
|
34 core_wpx_adaptation_stub_c* instance = new core_wpx_adaptation_stub_c(); |
|
35 if ( !instance ) |
|
36 { |
|
37 DEBUG( "core_wpx_adaptation_stub_factory::instance() - unable to core_wpx_adaptation_stub_c" ); |
|
38 return NULL; |
|
39 } |
|
40 |
|
41 return instance; |
|
42 } |