epoc32/include/mw/cmsettingsui.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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 #include <e32def.h>
    22 #include <e32base.h>
    23 
    24 class CCmSettingsUiImpl;
    25 
    26 /**
    27  *  Implementation of Setting UI
    28  *
    29  *  @lib cmmanager.lib
    30  *  @since S60 v3.2
    31  */
    32 NONSHARABLE_CLASS(CCmSettingsUi) : public CBase
    33     {
    34     public:
    35 
    36         enum TResult
    37                 {
    38                 EBack,
    39                 EExit
    40                 };
    41 
    42         /** Epoc constructor */
    43         IMPORT_C static CCmSettingsUi* NewL();
    44 
    45         /** Destructor */
    46         virtual ~CCmSettingsUi();
    47 
    48     //=========================================================================    
    49     // UI API
    50     //
    51     public:
    52 
    53         /**
    54         * Launches the Settings UI 
    55         * for handling Destinations and Connection Methods
    56         * @since 3.2
    57         * @return TResult - the softkey the user exited with
    58         */
    59         IMPORT_C TResult RunSettingsL();
    60         
    61         /**
    62         * Launches a dialog with a list of Destination
    63         * @since 3.2
    64         * @param  aDestinationId ID of the selected Destination
    65         * @return TBool
    66         */
    67         IMPORT_C TBool SelectDestinationDlgL( TUint32& aDestinationId );
    68 
    69     private:
    70 
    71         /** First stage constructor */
    72         CCmSettingsUi();
    73 
    74         /** Epoc constructor */
    75         void ConstructL();
    76 
    77     private: // data
    78 
    79         CCmSettingsUiImpl* iImpl;
    80     };
    81 
    82 #endif // C_CMSETTINGSUI_H