homesync/contentmanager/homesyncgsplugin/inc/mssettingitems.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     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:  Definition for MediaServant fill rule editor class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MSSETTINGITEMS_H
       
    20 #define C_MSSETTINGITEMS_H
       
    21 
       
    22 #include <aknsettingitemlist.h>
       
    23 
       
    24 // CLASS DECLARATIONS
       
    25 
       
    26 /**
       
    27  * CMSTextSettingItem
       
    28  * Text setting item class
       
    29  */
       
    30 class CMSTextSettingItem : public CAknTextSettingItem
       
    31     {
       
    32     public:
       
    33         CMSTextSettingItem( TInt aIdentifier, TDes& aText );
       
    34 
       
    35     public:
       
    36         /**
       
    37          * Setting page acceptance status
       
    38          *
       
    39          * @since S60 5.1
       
    40          * @return TBool, ETrue if accepted EFalse if cancelled
       
    41          */
       
    42         TBool SettingAccepted();
       
    43         /**
       
    44          * Sets setting page accept state
       
    45          *
       
    46          * @since S60 5.1
       
    47          * @param aState, ETrue if accepted
       
    48          */
       
    49         void SetAcceptState( TBool aState );
       
    50 
       
    51     private:
       
    52         /*
       
    53          * Setting page acceptance status
       
    54          */
       
    55         TBool iOKPressed;
       
    56     };
       
    57 
       
    58 #endif // C_MSSETTINGITEMS_H