mobilemessaging/mmsui/settingsinc/MmsApSelect.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     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:  
       
    15 *           MMS access point selection dialog
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MMSAPSELECT_H
       
    22 #define MMSAPSELECT_H
       
    23 
       
    24 //  INCLUDES
       
    25 
       
    26 #include <e32def.h>
       
    27 #include <ApEngineConsts.h> // for bearer filter values
       
    28 #include <ApSettingsHandlerCommons.h> // for return values
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 
       
    32 class CCommsDatabase;
       
    33 
       
    34 // CLASS DECLARATIONS
       
    35 
       
    36 /**
       
    37 * Class MmsApSelect
       
    38 * Provides static method for showing MMS Access Point selection
       
    39 * dialog.
       
    40 *
       
    41 * @since 3.1
       
    42 */
       
    43 class MmsApSelect
       
    44     {
       
    45     public:
       
    46 
       
    47         /**
       
    48         * Show MMS specific access point selection dialog.
       
    49         *
       
    50         * @param aCommsDb Reference to CommsDB (should be of type
       
    51         *                 "EDatabaseTypeIAP"
       
    52         * @param aCurrent The id of the AP to highlight by default
       
    53         * @param aSelected The id of the access point selected 
       
    54         *                  "KMaxTUint32" if nothing was selected
       
    55         * @param aBearerFilter Filtering criteria on bearer type,
       
    56         *                      see <ApEngineConsts.h>.
       
    57         * @return Value returned by CApSettingsHandler::RunSettingsL(...),
       
    58         *               defined in <ApSettingsHandlerCommons.h>,
       
    59         *               see also <ApSettingsHandlerUi.h>.
       
    60         */
       
    61         IMPORT_C static TInt SelectMmsAccessPointL(
       
    62             CCommsDatabase& aCommsDb,
       
    63             TUint32 aCurrent,
       
    64             TUint32& aSelected,
       
    65             TInt aBearerFilter );
       
    66 
       
    67     };
       
    68 
       
    69 #endif    // MMSAPSELECT_H
       
    70             
       
    71 // End of File