email/imum/Utils/Inc/IMSSettingsItemAccessPoint.h
changeset 79 2981cb3aa489
parent 0 72b543305e3a
equal deleted inserted replaced
25:84d9eb65b26f 79:2981cb3aa489
       
     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:  IMSSettingsAccessPointItem.h
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CIMSSettingsItemAccessPoint_H
       
    20 #define CIMSSettingsItemAccessPoint_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include "MuiuDynamicSettingItemLink.h"     // CMuiuSettingsLink
       
    25 #include "MuiuDynamicSettingsArray.hrh"     // TMuiuDynSettingsType
       
    26 #include <cdbcols.h>                        // TCommDbDialogPref
       
    27 #include <cmapplicationsettingsui.h>		// TCmSettingSelection
       
    28 
       
    29 // CONSTANTS
       
    30 // MACROS
       
    31 // DATA TYPES
       
    32 enum TIMSettingsItemTypes
       
    33     {
       
    34     EIMSSetItemAccessPoint = EMuiuDynSetItemLastUnusedItem
       
    35     };
       
    36 
       
    37 // FUNCTION PROTOTYPES
       
    38 // FORWARD DECLARATIONS
       
    39 // CLASS DECLARATION
       
    40 
       
    41 /**
       
    42 *
       
    43 *  @lib
       
    44 *  @since S60 3.0
       
    45 */
       
    46 class CIMSSettingsAccessPointItem : public CMuiuSettingsLink
       
    47     {
       
    48     public:  // Constructors and destructor
       
    49 
       
    50         /**
       
    51         * Creates object from CIMSSettingsItem and leaves it to cleanup stack
       
    52         * @since S60 3.0
       
    53         * @return, Constructed object
       
    54         */
       
    55         static CIMSSettingsAccessPointItem* NewLC();
       
    56 
       
    57         /**
       
    58         * Create object from CIMSSettingsItem
       
    59         * @since S60 3.0
       
    60         * @return, Constructed object
       
    61         */
       
    62         static CIMSSettingsAccessPointItem* NewL();
       
    63 
       
    64         /**
       
    65         * Destructor
       
    66         * @since S60 3.0
       
    67         */
       
    68         virtual ~CIMSSettingsAccessPointItem();
       
    69 
       
    70     public: // Operators
       
    71 
       
    72         /**
       
    73         *
       
    74         * @since S60 3.0
       
    75         */
       
    76         CIMSSettingsAccessPointItem& operator=(
       
    77             const CIMSSettingsAccessPointItem& aApItem );
       
    78 
       
    79     public: // New virtual functions
       
    80 
       
    81         /**
       
    82         *
       
    83         * @since S60 3.0
       
    84         */
       
    85         virtual inline TMuiuDynSettingsType Type() const;
       
    86 
       
    87         /**
       
    88         *
       
    89         * @since S60 3.0
       
    90         */
       
    91         virtual inline TInt64 Value() const;
       
    92 
       
    93         /**
       
    94         *
       
    95         * @since S60 3.0
       
    96         */
       
    97         virtual inline void SetValue( const TInt64 aValue );
       
    98 
       
    99     protected:  // Constructors
       
   100 
       
   101         /**
       
   102         * Default constructor for classCIMSSettingsItem
       
   103         * @since S60 3.0
       
   104         * @return, Constructed object
       
   105         */
       
   106         CIMSSettingsAccessPointItem();
       
   107 
       
   108         /**
       
   109         * Symbian 2-phase constructor
       
   110         * @since S60 3.0
       
   111         */
       
   112         void ConstructL();
       
   113 
       
   114     public:     // Data
       
   115 
       
   116         // Slot to store the radio button of the selected item
       
   117         TInt64               iIapRadioButton;
       
   118 
       
   119         // Flag to determine the setting mode
       
   120         TBool                iIsWizard;
       
   121 
       
   122         // Slot to store the iap selection mode and the iap id
       
   123         TCmSettingSelection  iIap;
       
   124     };
       
   125 
       
   126 #include "IMSSettingsItemAccessPoint.inl"
       
   127 
       
   128 #endif //  CIMSSettingsItemAccessPoint_H
       
   129 
       
   130 // End of File