cmmanager/cmmgr/Framework/Inc/cmsettingsuiimpl.h
changeset 20 9c97ad6591ae
parent 18 fcbbe021d614
child 21 b8e8e15e80f2
child 23 7ec726f93df1
child 28 860702281757
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
     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 setting UI
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_CMSETTINGSUIIMPL_H
       
    19 #define C_CMSETTINGSUIIMPL_H
       
    20 
       
    21 #include <e32def.h>
       
    22 #include <e32base.h>
       
    23 #include <ConeResLoader.h>
       
    24 
       
    25 class CCmManagerImpl;
       
    26 
       
    27 /**
       
    28  *  Implementation of setting UI
       
    29  *
       
    30  *  @lib cmmanager.lib
       
    31  *  @since S60 v3.2
       
    32  */
       
    33 NONSHARABLE_CLASS(CCmSettingsUiImpl) : public CBase
       
    34     {
       
    35     public:
       
    36 
       
    37         /** Epoc constructor */
       
    38         static CCmSettingsUiImpl* NewL();
       
    39 
       
    40         /** Destructor */
       
    41         virtual ~CCmSettingsUiImpl();
       
    42 
       
    43     //=========================================================================    
       
    44     // UI API
       
    45     //
       
    46     public:
       
    47 
       
    48         /**
       
    49         * Launches the Settings UI 
       
    50         * for handling Destinations and Connection Methods
       
    51         * @since 3.2
       
    52         */
       
    53         TInt RunSettingsL();
       
    54         
       
    55         /**
       
    56         * Launches a dialog with a list of Destination
       
    57         * @since 3.2
       
    58         * @param  aDestinationId ID of the selected Destination
       
    59         * @return TBool
       
    60         */
       
    61         TBool SelectDestinationDlgL( TUint32& aDestinationId );
       
    62 
       
    63     private:
       
    64 
       
    65         /** First stage constructor */
       
    66         CCmSettingsUiImpl();
       
    67 
       
    68         /** Epoc constructor */
       
    69         void ConstructL();
       
    70 
       
    71         /** Load resource */
       
    72         TInt LoadResourceL ();
       
    73 
       
    74     private: // data
       
    75 
       
    76         CCmManagerImpl* iCmManagerImpl;
       
    77         RConeResourceLoader iResourceReader;
       
    78     };
       
    79 
       
    80 #endif // C_CMSETTINGSUIIMPL_H