wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/inc/core_wpx_adaptation_factory.h
changeset 0 c40eb8fe8501
equal deleted inserted replaced
-1:000000000000 0:c40eb8fe8501
       
     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:  Factory class for WPX adaptation implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CORE_WPX_ADAPTATION_FACTORY_H
       
    20 #define CORE_WPX_ADAPTATION_FACTORY_H
       
    21 
       
    22 #include "am_platform_libraries.h"
       
    23 
       
    24 class abs_core_wpx_adaptation_c;
       
    25 class core_server_c;
       
    26 class abs_core_driverif_c;
       
    27 class abs_core_server_callback_c;
       
    28 
       
    29 /**
       
    30 * This class implements a factory that is used to instantiate
       
    31 * WPX adaptation implementation.
       
    32 * @see abs_core_wpx_adaptation_c
       
    33 */
       
    34 NONSHARABLE_CLASS( core_wpx_adaptation_factory_c )
       
    35     {
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Create a WPX adaptation instance.
       
    40      * @param server Callback to core server.
       
    41      * @param drivers Callback to lower adaptation.
       
    42      * @param adaptation Callback to upper adaptation.
       
    43      * @return Pointer to the created timer.
       
    44      */
       
    45     static abs_core_wpx_adaptation_c* instance(
       
    46         core_server_c* server,
       
    47         abs_core_driverif_c* drivers,
       
    48         abs_core_server_callback_c* adaptation );
       
    49 
       
    50 private: // private constructor
       
    51 
       
    52     /** 
       
    53      * Constructor.
       
    54      */
       
    55     core_wpx_adaptation_factory_c();
       
    56 
       
    57     };    
       
    58 
       
    59 #endif // CORE_WPX_ADAPTATION_FACTORY_H