cellular/sssettings/xqbindings/sssettingswrapper/src/sssettingswrapper_p.cpp
branchRCL_3
changeset 19 7d48bed6ce0c
equal deleted inserted replaced
18:594d59766373 19:7d48bed6ce0c
       
     1 /*
       
     2  * Copyright (c) 2009 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  *
       
    16  */
       
    17 
       
    18 #include "sssettingswrapper_p.h"
       
    19 #include "sssettingswrapper.h"
       
    20 #include "logging.h"
       
    21 #include <rsssettings.h>
       
    22 
       
    23 /*!
       
    24   SsSettingsWrapperPrivate::SsSettingsWrapperPrivate
       
    25  */
       
    26 SsSettingsWrapperPrivate::SsSettingsWrapperPrivate( SsSettingsWrapper &owner ) : m_Owner(owner)
       
    27 {
       
    28     DPRINT;
       
    29 }
       
    30 
       
    31 /*!
       
    32   SsSettingsWrapperPrivate::~SsSettingsWrapperPrivate
       
    33  */
       
    34 SsSettingsWrapperPrivate::~SsSettingsWrapperPrivate()
       
    35 {
       
    36     DPRINT;
       
    37 }
       
    38 
       
    39 /*!
       
    40   SsSettingsWrapperPrivate::PhoneSettingChanged
       
    41  */
       
    42 void SsSettingsWrapperPrivate::PhoneSettingChanged( 
       
    43     TSSSettingsSetting aSetting, 
       
    44     TInt aNewValue )
       
    45 {
       
    46     DPRINT << ": IN";
       
    47     DPRINT << ": aSetting: " << static_cast<SsSettingsWrapperSettings>(aSetting);
       
    48     DPRINT << ": aNewValue: " << aNewValue;
       
    49         
       
    50     emit m_Owner.phoneSettingChanged( 
       
    51         static_cast<SsSettingsWrapperSettings>(aSetting),
       
    52         static_cast<int>(aNewValue));
       
    53         
       
    54     DPRINT << ": OUT";
       
    55 }
       
    56     
       
    57 // End of File.