homesync/contentmanager/mediaservant/inc/msruleamountsetting.h
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /*
       
     2 * Copyright (c) 2008 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:  CMSRuleAmountSetting class definition
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MSRULEAMOUNTSETTING_H
       
    20 #define C_MSRULEAMOUNTSETTING_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "mssettingitems.h"
       
    24 
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29  * CMSRuleAmountSetting class. This class is used when
       
    30  * transfer time is modified
       
    31  *
       
    32  * @since S60 5.1
       
    33  */
       
    34 NONSHARABLE_CLASS( CMSRuleAmountSetting ):
       
    35                     public CMSEnumeratedTextPopupSettingItem
       
    36     {
       
    37     public:
       
    38 
       
    39         /**
       
    40          * Constructor.
       
    41          */
       
    42         CMSRuleAmountSetting( TInt aIdentifier,
       
    43                               TInt &aLimitType,
       
    44                               TInt &aValue );
       
    45 
       
    46         /**
       
    47          * Destructor.
       
    48          */
       
    49         virtual ~CMSRuleAmountSetting();
       
    50 
       
    51 
       
    52     protected: 
       
    53 
       
    54 // From base class CAknSettingItem
       
    55 
       
    56         /**
       
    57          * From CAknSettingItem
       
    58          * See base class definition
       
    59          */
       
    60         void EditItemL( TBool aCalledFromMenu );
       
    61         
       
    62         /**
       
    63          * From CAknSettingItem
       
    64          * See base class definition
       
    65          */
       
    66         void CompleteConstructionL();
       
    67 
       
    68     private:
       
    69     
       
    70         /**
       
    71          * Limit type
       
    72          */
       
    73         TInt&                                   iLimitType;
       
    74     
       
    75         /**
       
    76          * Amount of files
       
    77          */
       
    78         TInt&                                   iValue;
       
    79     
       
    80         /**
       
    81          * Button event on setting page
       
    82          */
       
    83         TAknSettingPageEvent                    iSettingPageEvent;
       
    84     };
       
    85 
       
    86 #endif // C_MSRULEAMOUNTSETTING_H
       
    87 
       
    88 // End of File