homesync/contentmanager/homesyncgsplugin/src/mssettingitems.cpp
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:  Setting item class implementations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "mssettingitems.h"
       
    20 #include "msdebug.h"
       
    21 
       
    22 // --------------------------------------------------------------------------
       
    23 // CMSTextSettingItem::CMSTextSettingItem
       
    24 // --------------------------------------------------------------------------
       
    25 //
       
    26 CMSTextSettingItem::CMSTextSettingItem(  TInt aIdentifier, TDes& aText ) :
       
    27     CAknTextSettingItem( aIdentifier, aText )
       
    28     {
       
    29     LOG(_L("[MediaServant]\t CMSTextSettingItem::CMSTextSettingItem"));
       
    30     }
       
    31 
       
    32 // --------------------------------------------------------------------------
       
    33 // CMSTextSettingItem::SettingAccepted
       
    34 // --------------------------------------------------------------------------
       
    35 //
       
    36 TBool CMSTextSettingItem::SettingAccepted()
       
    37     {
       
    38     LOG(_L("[MediaServant]\t CMSTextSettingItem::SettingAccepted"));
       
    39 
       
    40     return iOKPressed;
       
    41     }
       
    42 
       
    43 // --------------------------------------------------------------------------
       
    44 // CMSTextSettingItem::SetAcceptState
       
    45 // --------------------------------------------------------------------------
       
    46 //
       
    47 void CMSTextSettingItem::SetAcceptState( TBool aState )
       
    48     {
       
    49     LOG(_L("[MediaServant]\t CMSTextSettingItem::SetAcceptState"));
       
    50 
       
    51     iOKPressed = aState;
       
    52     }
       
    53 
       
    54 // End of File