ipcm_plat/extended_connection_settings_api/inc/cmsettingsui.h
changeset 53 4af712113915
parent 47 cb7afde124a3
child 60 a9c709db68db
equal deleted inserted replaced
47:cb7afde124a3 53:4af712113915
     1 /*
       
     2 * Copyright (c) 2006 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:  Implementation of settings UI
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_CMSETTINGSUI_H
       
    19 #define C_CMSETTINGSUI_H
       
    20 
       
    21 // Deprecation warning
       
    22 #warning This header file is deprecated and will be removed. See Polonium CR #461 for details.
       
    23 
       
    24 #include <e32def.h>
       
    25 #include <e32base.h>
       
    26 
       
    27 class CCmSettingsUiImpl;
       
    28 
       
    29 /**
       
    30  *  Implementation of Setting UI
       
    31  *
       
    32  *  @lib cmmanager.lib
       
    33  *  @since S60 v3.2
       
    34  */
       
    35 NONSHARABLE_CLASS(CCmSettingsUi) : public CBase
       
    36     {
       
    37     public:
       
    38 
       
    39         enum TResult
       
    40                 {
       
    41                 EBack,
       
    42                 EExit
       
    43                 };
       
    44 
       
    45         /** Epoc constructor */
       
    46         IMPORT_C static CCmSettingsUi* NewL();
       
    47 
       
    48         /** Destructor */
       
    49         virtual ~CCmSettingsUi();
       
    50 
       
    51     //=========================================================================    
       
    52     // UI API
       
    53     //
       
    54     public:
       
    55 
       
    56         /**
       
    57         * Launches the Settings UI 
       
    58         * for handling Destinations and Connection Methods
       
    59         * @since 3.2
       
    60         * @return TResult - the softkey the user exited with
       
    61         */
       
    62         IMPORT_C TResult RunSettingsL();
       
    63         
       
    64         /**
       
    65         * Launches a dialog with a list of Destination
       
    66         * @since 3.2
       
    67         * @param  aDestinationId ID of the selected Destination
       
    68         * @return TBool
       
    69         */
       
    70         IMPORT_C TBool SelectDestinationDlgL( TUint32& aDestinationId );
       
    71 
       
    72     private:
       
    73 
       
    74         /** First stage constructor */
       
    75         CCmSettingsUi();
       
    76 
       
    77         /** Epoc constructor */
       
    78         void ConstructL();
       
    79 
       
    80     private: // data
       
    81 
       
    82         CCmSettingsUiImpl* iImpl;
       
    83     };
       
    84 
       
    85 #endif // C_CMSETTINGSUI_H