radioapp/radioenginewrapper/src/radiosettings_win32_p.cpp
branchRCL_3
changeset 19 cce62ebc198e
equal deleted inserted replaced
18:1a6714c53019 19:cce62ebc198e
       
     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 "radiosettings.h"
       
    19 #include "radiosettings_p.h"
       
    20 
       
    21 
       
    22 /*!
       
    23  *
       
    24  */
       
    25 RadioSettingsPrivate::RadioSettingsPrivate( RadioSettings* settingsPublic ) :
       
    26     q_ptr( settingsPublic ),
       
    27     mFlags( 0 )
       
    28 {
       
    29 }
       
    30 
       
    31 /*!
       
    32  *
       
    33  */
       
    34 RadioSettingsPrivate::~RadioSettingsPrivate()
       
    35 {
       
    36 }
       
    37 
       
    38 /*!
       
    39  *
       
    40  */
       
    41 /*
       
    42 void RadioSettingsPrivate::init( MRadioApplicationSettings* storage )
       
    43 {
       
    44     mSettingsStorage = storage;
       
    45     if ( mSettingsStorage ) {
       
    46         mFlags = Toggles( mSettingsStorage->UiFlags() );
       
    47     }
       
    48 }
       
    49 */
       
    50 /*!
       
    51  *
       
    52  */
       
    53 bool RadioSettingsPrivate::isFirstTimeStart()
       
    54 {
       
    55     return false;
       
    56 }
       
    57 
       
    58 /*!
       
    59  *
       
    60  */
       
    61 void RadioSettingsPrivate::setFirstTimeStartPerformed( bool firstTimeStartPerformed )
       
    62 {
       
    63     Q_UNUSED( firstTimeStartPerformed );
       
    64 }
       
    65 
       
    66 /*!
       
    67  *
       
    68  */
       
    69 bool RadioSettingsPrivate::isFlagSet( ToggleFlag flag ) const
       
    70 {
       
    71     return mFlags.testFlag( flag );
       
    72 }
       
    73 
       
    74 /*!
       
    75  *
       
    76  */
       
    77 void RadioSettingsPrivate::toggleFlag( ToggleFlag flag )
       
    78 {
       
    79     mFlags ^= flag;
       
    80 }
       
    81 
       
    82 /*!
       
    83  *
       
    84  */
       
    85 void RadioSettingsPrivate::saveFlags()
       
    86 {
       
    87 }