remotemgmt_plat/oma_provisioning_engine_api/inc/WPPhoneFactory.h
changeset 35 0deca9b72b62
equal deleted inserted replaced
32:5d0ec111abfc 35:0deca9b72b62
       
     1 /*
       
     2 * Copyright (c) 2002 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:  WPPhoneFactory can be used to create phone interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef WPPHONEFACTORY_H
       
    20 #define WPPHONEFACTORY_H
       
    21 
       
    22 // FORWARD DECLARATIONS
       
    23 class MWPPhone;
       
    24 
       
    25 //  CLASS DEFINITION
       
    26 
       
    27 /**
       
    28 *  Factory class for phone interface.
       
    29 *
       
    30 *  @lib ProvisioningEngine
       
    31 *  @since 2.0
       
    32 */
       
    33 class WPPhoneFactory 
       
    34     {
       
    35     public:
       
    36         /**
       
    37         * Creates all adapters and stores them in an array.
       
    38         * @return Array of adapters. Ownership is transferred.
       
    39         */
       
    40         IMPORT_C static MWPPhone* CreateL();
       
    41 
       
    42         /**
       
    43         * Creates all adapters and stores them in an array.
       
    44         * @return Array of adapters. Ownership is transferred.
       
    45         */
       
    46         IMPORT_C static MWPPhone* CreateLC();
       
    47     };
       
    48 
       
    49 #endif /* WPPHONEFACTORY_H*/